Photoshop .psd plugin

compumatter
compumatter's picture

Joined: 2009-06-21
Posts: 7
Posted: Sun, 2009-06-21 02:44

Is there a plugin that would allow for for photoshop .psd files to be visible in the Gallery ?

We are a web development firm that uses these types of files all the time. It would be a nice add.

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 7894
Posted: Sun, 2009-06-21 03:48

Imagemagick can already handle it.
Here is a 26MB four layer psd with swift3D text objects.

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

 
compumatter
compumatter's picture

Joined: 2009-06-21
Posts: 7
Posted: Sun, 2009-06-21 17:28

I see your link. That is impressive.
However, when I am using the feature within Gallery for adding photos I get 'Invalid File Type' and it won't let me upload it.

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 7894
Posted: Sun, 2009-06-21 20:09

Gallery will let you upload pretty much any media type, so it should not refuse it if it recognizes it.
Make sure your webserver knows what it is. For apache look for a file called mime.types (/usr/local/etc/apache2/mime.types)
add a line: application/photoshop psd
and restart apache.

Also make sure gallery knows what is is... install the MIME module Gallery Admin -> Plugins -> Extra Data -> MIME Maintenance
and make sure application/photoshop psd is available in Gallery Admin -> Extra Data -> MIME Types

You will also need the ImageMagick module as well, test it and make sure you see similar output:
Supported MIME Types

The ImageMagick module can support files with the following MIME types:

image/gif
image/jpeg
image/pjpeg
image/jp2
image/jpg2
image/jpx
image/png
image/tiff
image/svg+xml
image/bmp
application/pdf
application/postscript
application/photoshop
image/x-photo-cd
image/tga
image/jpeg-cmyk
image/tiff-cmyk
application/photoshop-cmyk

Uploading and processing a large psd takes plenty of memory certainly not something to do on shared hosting. A $6/month account probably won't due.

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

 
compumatter
compumatter's picture

Joined: 2009-06-21
Posts: 7
Posted: Mon, 2009-06-22 07:36

Thanks. In mime.types I have added application/photoshop-cmyk.
Note: it was already there as image/x-photoshop psd however I added your suggestion and tested after a apache restart. Still no go on the psd file.

I installed ImageMagick but still the file does not natively display psd files.

Gallery Admin -> Plugins must not apply in version gallery3 as I do not even have a menu by that name. I could not find a Mime Types plugin out there. Perhaps you know of a link to this.

Thanks.

Jay

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 7894
Posted: Mon, 2009-06-22 10:52

This is a gallery2 forum. Gallery3 is not likely to be the powerhouse G2 is. G3 is being designed for ease of use, and piling on the features is counter-productive to that end.
G2 is much more powerful and feature rich.

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2