PSD files PSD files
 

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

PSD files

Started by minute, April 17, 2012, 12:08:27 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

minute

Hello, I am using the gallery and Imagemagick, I can upload PSD files, but on Firefox nothing shows. I am using MAC, and if I open the gallery with Safari, all is OK. Can you tell me if there is a way I can view/download PSD files with Firefox or another Browser? Why I need PSD? Because I use the gallery as a image database for all the files on my computer, I am a web-designer and I make a lot of PSD files. If these kind of files are not shown, my effort is useless.

Thanks!

Αndré

What exactly have you already done to upload/show PSD files to your gallery?

minute

I use ImageMagick, as "Method for resizing images " in configuration, also I have ImageMagick on my linux server where I keep the gallery. Second I add PSD in: Allowed image types and installed Filetypes editor as plugin, I follow some guides in the forum. That is all. Also I can say that I can upload EPS, CDR and AI files and thumbnails for that files are working!

Αndré

Quote from: minute on April 17, 2012, 12:25:09 PM
I follow some guides in the forum
That's probably the most important part (hopefully you'll find/post the link(s) to that thread(s)). Which file types are the thumbnail files for each PSD, EPS and CDR? Are they identical as the source file or does Coppermine create e.g. JPG or PNG files?

minute

Maybe I was not clear. The thumbnails are working in Safari, but not in Firefox or other browser. Do I need a plugin for Firefox? Does anyone manage to do the PSD thumbnails and image? In Firefox, the thumbnail is the title of the file ex: bg.psd with the link to the file, and the actual image is a | line.

Αndré

So the generated thumbnail files seems to be no "common" (web) image file type.

Quote from: minute on April 17, 2012, 01:54:31 PM
Do I need a plugin for Firefox?
You should better ask the Firefox team how to open PSD files with their software. What we can do is modifying the Coppermine code to create PNG or JPG thumbnail files, which should be compatible with every browser. This thread should help you to modify your gallery accordingly.

minute

Not only the thumbnail is the problem, also the image file.
You can see here the way is shows in Safari: http://imageshack.us/photo/my-images/820/screenshot20120417at162.png/
And here in FireFox http://imageshack.us/photo/my-images/696/screenshot20120417at162.png/

Hope I was clear enough...

Αndré

Quote from: Αndré on April 17, 2012, 02:51:01 PM
This thread should help you to modify your gallery accordingly.

Please read that thread. It solves the issue for thumbnails and intermediate-sized pictures.

minute

I read it and tryit but no results.

In include/picmgmt.inc.php I have no code like: $localpath = $pic_row['filepath'] . $pic_prefix[$mode] . $pic_row['filename'];

I did the prevous modifications by adding the pdf:
    $normal = str_replace('.psd', '.jpg', $normal);
    $thumb = str_replace('.psd', '.jpg', $thumb);
But there is no output!

Αndré

Try to upload a new file after you applied those modifications.

minute

It does not work, it says: Unable to create thumbnail or reduced size image.

minute

Also I notice that not all the psd files are uploading, some of them are returning the error: Error executing ImageMagick - Return value: 1. I have to check the files to see what is the problem...

Αndré

Quote from: minute on April 18, 2012, 08:21:22 AM
Unable to create thumbnail or reduced size image

Please enable the debug mode. You'll get an extended error message. Please post that error message and also attach the mentioned file(s) to your next reply.