PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Pro Support Forums > Photopost Pro Bug Reports

Photopost Pro Bug Reports Post post installation PhotoPost Pro problems here.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old April 5th, 2008, 07:40 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Jan 2003
Posts: 41
.psd files and watermark.php

I can't seem to fix this problem. When going to showphoto.php for an uploaded .psd file, PhotoPost tries to treat it as an image file, so you just get a blank image there. I have the extension listed in the multimedia types, so I'm not sure why it's doing this. This is only on showphoto.php. On showgallery.php it shows the multimedia thumbnail.

I'm using "on-the-fly image protection", but not watermarking. I even added this code to watermark.php, but it doesn't do anything:

Code:
Content visible to verified customers only.
BTW, I had to add this code to watermark.php for it to handle .png files correctly:

Code:
Content visible to verified customers only.
Any ideas on the .psd problem? Thanks!
Media Missionary is offline   Reply With Quote
Old April 5th, 2008, 07:42 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
you cant use psd as an image to my knowledge. You need to add it to the available multimedia types not image types so its treated like a multimedia file
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old April 5th, 2008, 07:51 PM   #3 (permalink)
Member
Verified Customer
 
Join Date: Jan 2003
Posts: 41
Like I said -- the extension IS listed in my multimedia types -- NOT image types. The multimedia thumb shows up fine on showgallery.php -- just not showphoto.php. A blank space with the dimensions of the .psd is there instead of the multimedia thumbnail.
Media Missionary is offline   Reply With Quote
Old April 5th, 2008, 08:23 PM   #4 (permalink)
Member
Verified Customer
 
Join Date: Jan 2003
Posts: 41
I finally got it! In showphoto.php I had to change:

Code:
Content visible to verified customers only.
to

Code:
Content visible to verified customers only.
around line 643.

It works like it should now. I guess PhotoPost puts something into the $medsize variable when a .psd is uploaded -- and so it treats it like an image because the is_multimedia stuff is later in the code. My modification bypasses that section so that the .psd will be treated as a multimedia file like it's supposed to.

Now I can get some rest!
Media Missionary is offline   Reply With Quote
Old April 6th, 2008, 09:29 AM   #5 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
Well without knowing more about this I can not say but if you can link a psd image here I can test but I do not beleive what your posting above is quite right. We only process image extentions that are in is_image or multimedia which are in is_multimedia.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old April 6th, 2008, 03:07 PM   #6 (permalink)
Member
Verified Customer
 
Join Date: Jan 2003
Posts: 41
It's right in my book -- because it works! Maybe ImageMagik tries to process PSDs. I don't know. All I know is that it wasn't working with the stock code, but it works with my mod. I'd love for you to investigate this so that it will work for everyone with your stock code. If you come up with a better solution, I'd be the first to implement it. You can get a download a PSD file just by doing a web search. All I care about for myself and my members is that it's working now and my mod doesn't break anything.
Media Missionary is offline   Reply With Quote
Old April 6th, 2008, 04:21 PM   #7 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
i asked for a psd file so I could test. what i am simply saying if you place a psd extention under multimedia files not image files then we should not process anything but treat it as a multimedia file. i know if you try and place psd as an image type you would intentionally break things as its not an image so this is why i asked for a test file to see what i got when trying to process one.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Watermark unwatermarked files error Collectors Photopost Pro Bug Reports 3 February 19th, 2008 12:17 PM
Overlay Background PSD File martell Photopost Pro How Do I...? 5 October 26th, 2005 05:55 PM
Watermark in original files arpy Installs and Upgrade - vBulletin 3.0.X 0 June 6th, 2005 01:04 PM
Watermark Error On lager files n_wattam Installs and Upgrade - vBulletin 3.0.X 2 February 4th, 2005 02:26 PM
48d re-watermark files b6gm6n Photopost Pro Installation & Upgrades 3 July 16th, 2004 10:31 AM


All times are GMT -5. The time now is 10:54 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0