Image extensions Image extensions
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

Image extensions

Started by Irish Rover, October 06, 2005, 04:53:05 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Irish Rover

My server has ImageMagick working and nothing is running in safe mode.
I'm still unable to upload anything but the 3 extensions used by GD 2,
Any ideas or suggestions where to find the problem?


Irish Rover

Upload an image file other then the 3 image extensions used by GD2 and any of the 90 which ImageMagick is capable of using. But so far all I've been able to use are the 3.
Thanks for moving this thread, sorry for that



Nibbler

You need to manually add additional filetypes into the cpg_filetypes table in your database. Coppermine only accepts filetypes it knows about for security reasons. You'll need to run a query like the following for each filetype using phpmyadmin or similar:

INSERT INTO CPG_filetypes VALUES ('xxx', 'yyy', 'image');

Replacing CPG_ with the prefix you chose during installation, xxx with the filename extension, and yyy with the mime type of the file.

Irish Rover

Thank You!