View Single Post
Old April 1st, 2006, 11:28 AM   #1 (permalink)
volarium
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