Page 1 of 1

Only resize .jpg works (not .gif)

Posted: Tue Jan 25, 2005 10:36 pm
by SurfDude
I have a problem with the uploading function. I can add .jpg's and serendepity resizes them, no problem. But when I try to upload a .gif, it doesn't resize it, and doesn't displays it in the media library neither. (But it DOES upload it.)

Also it's not possible to upload images from some www-adres (from client diskdrive it's no problem). It does upload something, but that "something" is an empty (white) image.

Any idea what can causes this problem? I have the "Use Imagemagick" boolean turned off.

Posted: Tue Jan 25, 2005 11:39 pm
by tomsommer
You most likely don't have gif write or png write compiled into your PHP installation

Posted: Wed Jan 26, 2005 11:23 am
by garvinhicking
And it seems like you have PHPs allow_url_open set to FALSE. Serendipity 0.8 allows to download HTTP images using the PEAR class which will work despite that PHP setting. You might want to try that out...

Regards,
Garvin

Posted: Wed Jan 26, 2005 5:44 pm
by oxygenws
But when I try to upload a .gif, it doesn't resize it, and doesn't displays it in the media library neither
maybe your GD version is too OLD, please upgrade it to 2.0.28 or later.