.TIF / .PSD Files either not accepted or not displaying .TIF / .PSD Files either not accepted or not displaying
 

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

.TIF / .PSD Files either not accepted or not displaying

Started by LGLDSR, May 18, 2007, 01:12:36 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

LGLDSR

Greetings,

I am attempting to upload .TIF and .PSD images.

(1) .TIF: Even though the acceptable file type is set to 'ALL' in 'Files and Thumbnails Advanced Settings', the .TIF files are being rejected as an invalid file type.

(2) .PSD: These are accepted but do not display.

Any help greatly appreciated.

Lyman

Hein Traag

Copied from the documentation: ""ALL" will result in all allowable document file types to be uploaded."
So if even if you have All selected it only means that it will allow all filetypes as they are written down at the "Allowed document types" on the config page.

If you want add more filetypes which are mentioned in that section you might want to take a look at this plugin: http://forum.coppermine-gallery.net/index.php?topic=24186.0

Hein

LGLDSR

Thank you, Hein.

What I am showing for 'Allowed document types' is:

doc/txt/rtf/pdf/xls/pps/ppt/zip/gz/mdb

None or which support images. Am I looking in the wrong place?

Thank you,

Lyman

Joachim Müller

Setting "Allowed image types" to "ALL" will result in all allowed image file types that your image library (GD or ImageMagick) is capable of handling to be allowed as uploads and content in your gallery. If you want to restrict the allowed file types to certain types only, enter a slash-separated list of extensions, e.g. jpg/bmp/tif.

You have to understand that "ALL" does not mean "all image file types that exist", but instead "all image file types that your image library (GD or ImageMagick) supports".
  • File types supported by GD:
    jpeg/jpg/png/gif
  • File types supported by ImageMagick:
    jpeg/jpg/png/gif/bmp/jpc/jp2/jpx/jb2/swc/iff/psd

As you probably have GD2 (as 90% of webhosted accounts don't have ImageMagick, but "only" GD2), you can't add TIF/PSD files to display as images. Add the extensions to the list of documents instead, as Hein suggested (using the file type plugin).

You'll have to add the extensions psd and tif to the coppermine's "filetypes" database table using the plugin Hein refered to.

LGLDSR