Batch add error about allowed image types Batch add error about allowed image types
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Batch add error about allowed image types

Started by casper_2k3, January 20, 2004, 04:56:35 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

casper_2k3

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  :)

Joachim Müller

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 for details).

GauGau

moorey

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.