Page 1 of 1

Need help with broken thumbail image

Posted: Mon Sep 24, 2007 1:10 am
by bnbstudios
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 ?

Posted: Mon Sep 24, 2007 7:47 am
by superdezign
What counts as a broken thumbnail...?

Posted: Mon Sep 24, 2007 8:20 am
by softcode
Confirm the links to the thumb nails on the server. That would give incomplete images which I suppose is the broken thumbnails.

Are the larger images displaying ?

problem with image resizing

Posted: Mon Oct 01, 2007 3:36 am
by bnbstudios
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?

Posted: Mon Oct 01, 2007 3:49 am
by s.dot
Check if the gd extension is loaded?

Code: Select all

if (!extension_loaded('gd'))
{
    die('Sorry, I simply cannot create thumbnails without GD!');
}