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 Installation & Upgrades

Photopost Pro Installation & Upgrades If you're having install or upgrade problems

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old April 1st, 2006, 11:28 AM   #1 (permalink)
Member
Verified Customer
 
Join Date: Apr 2005
Posts: 56
Filesize incorrect after Edit Photo

This issue is only a minor annoyance. If it can't be fixed, it's no big deal, but just thought I would ask. Here's the sequence of events:

1. I installed Photopost Pro without specifying a Max allowable image width and height in pixels.
2. I had Trigger medium graphic height and width set to 600.
3. Users uploaded very large pictures (2000x1600, etc).
4. To save disk space and bandwidth, I subsequently set the max dimensions to 640x640, and the Trigger medium height and width to 0. The intention being that you would not be able to see a larger picture, and I would eliminate storing the photo twice by having a Medium version.
5. I used the Edit Photo option to re-upload the existing photos so that they would automatically resize to 640x480. It worked fine, I ended up with exactly what I expected - the Medium version of the photo was deleted, and the regular version was 640x480.

The problem is that the Filesize field in the database did not get updated.

before.gif Here's what it looked like before.
after.gif Here's what it looks like after.

Here's the true size of the file:
-rw-rw-rw- 1 apache michael 62699 Apr 1 09:13 interceptor_028.jpg

So, it looks like there's a minor bug when you do an Edit Photo. Will any of the Photopost database utilities recalculate the file sizes? Otherwise, I'm guessing the only way to correct it is to manually update the database. Definitely not worth the effort.

Like I said, it's only a minor annoyance, but just thought I'd see if I'm missing anything. Thanks!

http://vfrworld.com/photos/

Last edited by volarium; April 1st, 2006 at 11:32 AM.
volarium is offline   Reply With Quote
Old April 1st, 2006, 06:06 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
If I replace a photo the filesize is updated this is the query right in image-inc.php

Code:
Content visible to verified customers only.
Is that 5.3
__________________
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 4th, 2006, 12:34 AM   #3 (permalink)
Member
Verified Customer
 
Join Date: Apr 2005
Posts: 56
Hi Chuck, yes I am running version 5.3, and my image-inc.php does match the code you have above. But, as you saw from my examples above, it's not working as expected. I'm guessing it has to do with the fact that I originally had "Medium images" turned on, and then when I replaced the photo, I had Medium images turned off. Let me do a bit more testing and I'll let you know what I find out. If you have any other ideas for me to check, let me know.
Thanks!
volarium is offline   Reply With Quote
Old April 4th, 2006, 07:18 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
It would be interesting to see what you find as in my testing it updates accordingly
__________________
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
Edit Photo Options paulfletcher Photopost Pro How Do I...? 5 March 24th, 2006 12:11 PM
Edit photo option accyLen Photopost Pro How Do I...? 3 March 15th, 2006 04:48 PM
Incorrect large pic filesize showing mjm Photopost Pro Installation & Upgrades 2 June 5th, 2005 06:33 PM
edit the photo fatma Photopost Pro Installation & Upgrades 1 September 3rd, 2004 07:45 AM


All times are GMT -5. The time now is 05:25 AM.

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