Hi,
I have GD2 enabled in my webserver.
I have used this function to resize images on the gallery and when clicked they would show the larger ones.
The prob is that the thumbnails show but are broken. Ive tried doin the same with another server i have and that supports the thumbnail resizing.
could anyone help on this ?
Need help with broken thumbail image
Moderator: General Moderators
-
bnbstudios
- Forum Newbie
- Posts: 2
- Joined: Fri Sep 21, 2007 1:46 am
- superdezign
- DevNet Master
- Posts: 4135
- Joined: Sat Jan 20, 2007 11:06 pm
-
bnbstudios
- Forum Newbie
- Posts: 2
- Joined: Fri Sep 21, 2007 1:46 am
problem with image resizing
well broken thumbnails as i see it are errors from createjpegfromimage() function.
the larger images (original ones) are supported fine. it's only the thumbnails which are create onthe fly by my script. The main confusion is that i have tested this on two servers (both linux) and one of them supports the scrpt as it should.
so what else is there i should try?
the larger images (original ones) are supported fine. it's only the thumbnails which are create onthe fly by my script. The main confusion is that i have tested this on two servers (both linux) and one of them supports the scrpt as it should.
so what else is there i should try?
Check if the gd extension is loaded?
Code: Select all
if (!extension_loaded('gd'))
{
die('Sorry, I simply cannot create thumbnails without GD!');
}Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.