Image extensions Image extensions
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

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!