Advanced search  

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

Pages: [1]   Go Down

Author Topic: .TIF / .PSD Files either not accepted or not displaying  (Read 3552 times)

0 Members and 1 Guest are viewing this topic.

LGLDSR

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 83
.TIF / .PSD Files either not accepted or not displaying
« on: May 18, 2007, 01:12:36 pm »

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
« Last Edit: May 18, 2007, 02:54:51 pm by GauGau »
Logged

Hein Traag

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: nl
  • Offline Offline
  • Gender: Male
  • Posts: 2166
  • A, B, Cpg
    • Personal website - Spintires.nl
Re: .TIF / .PSD Files either not accepted or not displaying
« Reply #1 on: May 18, 2007, 01:33:41 pm »

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
Logged

LGLDSR

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 83
Re: .TIF / .PSD Files either not accepted or not displaying
« Reply #2 on: May 18, 2007, 02:11:12 pm »

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
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: .TIF / .PSD Files either not accepted or not displaying
« Reply #3 on: May 18, 2007, 02:15:58 pm »

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.
Logged

LGLDSR

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 83
Re: .TIF / .PSD Files either not accepted or not displaying
« Reply #4 on: May 18, 2007, 02:49:23 pm »

Excellent - thank you!

Lyman
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 19 queries.