coppermine-gallery.com/forum

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: casper_2k3 on January 20, 2004, 04:56:35 AM

Title: Batch add error about allowed image types
Post by: casper_2k3 on January 20, 2004, 04:56:35 AM
I've just installed CPG 1.2 and am trying to batch add pictures.

The error message I keep getting is:

When using the GD image library allowed image types are only JPEG and PNG.

In the Config, the accepted file extensions for uploaded pictures are GIF/PNG/JPG/JPEG/TIF/TIFF

The files I am trying to upload ARE .gif!

Any help would be very much appreciated  :)
Title: Batch add error about allowed image types
Post by: Joachim Müller on January 20, 2004, 05:00:56 AM
as the error says: with GD, you can only use jpg and png.
The line in config saying "Accepted file extensions for uploaded pictures" only refers to those who are running ImageMagick!
There's a legal issue with GIFs, that's why there's no support for it with GD (read GD-faq (http://www.boutell.com/gd/faq.html) for details).

GauGau
Title: Batch add error about allowed image types
Post by: moorey on January 20, 2004, 05:01:48 AM
http://www.boutell.com/gd/faq.html

In summary, GIF is not supported by GD, not for awhile still. You might want to try ImageMagick, but the thumbnail generated might actually be bigger than the original file. Similar story to the above FAQ.