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 How Do I...?

Photopost Pro How Do I...? Wondering how to do things in PhotoPost?

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old May 1st, 2008, 07:51 AM   #1 (permalink)
Member
Verified Customer
 
Join Date: Jan 2003
Location: Germany
Posts: 68
Question Shown file size using Imagmagick or GD2

Hi there,

I justed changed my complete vBulletin 3.6.x and Photopost 5.62 installation with database and photos to another server.

With that I changed from GD2 to IM in admin menu:
Quote:
Imaging Integration (IM or GD)
Select ImageMagick or GD1/GD2 for image processing
Works fine after setting the path to mogrify somewhere in the menu. The IM processed photos are a little sharper than those recalculated by GD2 - all is fine.

BUT - now comes the clou - the file sizes shown by Photopost under the pictures are those file sizes of the photos before prossing by IM. So, an example: Photopost says, the image is 1235.0 KB in size (exact size before uploading), but in real the reduced picture has 63.1 KB left only. This happens with IM only, but with all pictures, even when the file size is only little higher before uploading.
Using GD2 -> Photopost shows exactly the correct new file sizes after processing.

So, where is the problem, please?
I would like to change that. Please do not tell me to update Photopost, I really really would like to avoid that for several reasons.

Can I edit somewhere the code, please?

Thanks a lot
Markus
PyroMarkus is offline   Reply With Quote
Old May 1st, 2008, 01:46 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,689
http://www.reeftalk.com/gallery/show...php/photo/1373

I have always used IM and I dont see this issue. I checked the filesizes on disk and they appear to be the correct sizes of the processed images. Have you checked via ftp the actual file I take it you have. what version of the software you using? My stock answer here if your using a much older version would be to upgrade but no one has ever reported any error such as this.
__________________
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 May 1st, 2008, 03:03 PM   #3 (permalink)
Member
Verified Customer
 
Join Date: Jan 2003
Location: Germany
Posts: 68
Thank you Chuck. I used GD2 till now (IM in vBulletin but not in PhotoPost).

It is always the same. Using IM for image processing -> "showphoto" shows the filesize of the original photo, always. Let the original photo be 1.500 or 70KB of size. As soon as IM processes the photo (to reduce resolution) the old value is shown. Yes, the pictures are of correct, reduced filesize, so it means maybe 60KB. Its just the old value showing up.

I use PhotoPost 5.62 on Debian 4.0 64bit on an Athlon 64 CPU with Apache/2.2.3 (Debian) PHP/5.2.0-8
5.0.32 mysql

It does not happen with GD, but IM produces little sharper quality...

One again thank you!
PyroMarkus is offline   Reply With Quote
Old May 1st, 2008, 03:26 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,689
Interesting dont know what to say other than try upgrading. I have viewed several files and the sizes all appear correct with im
__________________
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 May 21st, 2009, 07:16 AM   #5 (permalink)
Junior Member
Verified Customer
 
Join Date: May 2006
Posts: 21
Sorry to resurrect an old thread, but did anyone get to the bottom of this issue?

I've recently moved to a new server and have been able to switch from GD2 to imagemagick, which is much better BUT, i am now having the exact same problem, all image file sizes underneath the photos are pre-resize file sizes
Andy Dean is offline   Reply With Quote
Old May 21st, 2009, 09:43 AM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,689
This is not something we ever could verify. I have checked many a photo and the photo size is explicitly the size of the file ondisk.

bj_171 - ReefTalk Gallery
__________________
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 May 21st, 2009, 10:26 AM   #7 (permalink)
Junior Member
Verified Customer
 
Join Date: May 2006
Posts: 21
Hmmm....

Photopost says 4369.5kb

Message - X-Members Gallery

File on disk, taken from /photopost/data/500/ is 46.8kb - see attached.

Am i missing something Chuck?
Attached Images
File Type: jpg Picture_0011.jpg (46.9 KB, 1 views)
Andy Dean is offline   Reply With Quote
Old May 21st, 2009, 10:31 AM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,689
I dont have permission to view the photo
__________________
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 May 21st, 2009, 10:40 AM   #9 (permalink)
Junior Member
Verified Customer
 
Join Date: May 2006
Posts: 21
Sorry Chuck, my mistake, i forgot members galleries were private, i've changed the permissions now.
Andy Dean is offline   Reply With Quote
Old May 21st, 2009, 11:05 AM   #10 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,689
1240908908_orig - X-Members Gallery

so its only after your server move. Most likely an issue with a bug on the server or version thereof of PHP

Code:
Content visible to verified customers only.
I would suspect more so this scenerio because your files have not changed Photopost is still Photopost and it worked fine. what version of PHP does this new server use? Maybe we can search to see if anyone has posted filesize bugs? Its a long shot but who knows
__________________
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 May 21st, 2009, 11:16 AM   #11 (permalink)
Junior Member
Verified Customer
 
Join Date: May 2006
Posts: 21
Interesting...

New server is PHP Version 5.2.5, old server is Version 5.2.6...
Andy Dean is offline   Reply With Quote
Old May 21st, 2009, 12:29 PM   #12 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,689
PHP: filesize - Manual

I would suspect maybe an issue with filesize and the server. Try processing different size files and see if all are wrong on this new server or just certain ones.
__________________
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 May 21st, 2009, 01:47 PM   #13 (permalink)
Junior Member
Verified Customer
 
Join Date: May 2006
Posts: 21
Chuck, it's definately only a problem when using imagemagick. If i switch back to GD2 the filesizes are okay.

Imagemagick:
IMG_44421 - X-Members Gallery
84.2kb on disk

GD2
IMG_4442 - X-Members Gallery
63.7kb on disk

Original image size is 3.21mb
Andy Dean is offline   Reply With Quote
Old May 21st, 2009, 04:23 PM   #14 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,689
Okay and Imagemagick worked on the old server. Interesting
__________________
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 May 22nd, 2009, 09:31 AM   #15 (permalink)
Junior Member
Verified Customer
 
Join Date: May 2006
Posts: 21
Quote:
Originally Posted by Chuck S View Post
Okay and Imagemagick worked on the old server. Interesting
No, i never had imagemagick on the old server, that was one of the reasons (amongst others) that i moved.
Andy Dean is offline   Reply With Quote
Old May 22nd, 2009, 09:37 AM   #16 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,689
well it could be a problem with IM processing on the new server maybe I cant say. I use Imagemagick so all the examples I am posting are with IM. Now this has to be some unique server issue as two people are reporting this in 7 years.
__________________
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 May 25th, 2009, 06:17 AM   #17 (permalink)
Junior Member
Verified Customer
 
Join Date: May 2006
Posts: 21
Well i'm stumped Chuck, i've upgraded IM from 6.2.8 to 6.5.2-8 but the filesizes are still that of the original image
Andy Dean is offline   Reply With Quote
Old May 25th, 2009, 07:48 AM   #18 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,689
Andy seems to be a unique situation related to your server. I have thrown out my guesses on that one. If it was an error with the actual code it would be able to be replicate it.
__________________
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 May 25th, 2009, 02:27 PM   #19 (permalink)
Junior Member
Verified Customer
 
Join Date: May 2006
Posts: 21
Added

Code:
Content visible to verified customers only.
To image-inc.php. Filesizes seem to be correct after upload now...

Last edited by Andy Dean; May 25th, 2009 at 02:42 PM.
Andy Dean is offline   Reply With Quote
Old May 25th, 2009, 04:59 PM   #20 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,689
Yep PHP is not clearing its cache.
__________________
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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Thumbnail size with GD2 Aery Photopost Pro How Do I...? 5 January 26th, 2008 11:41 AM
Allowed memory size error with GD2 Russ_T Photopost Pro Bug Reports 5 November 8th, 2007 09:49 AM
Auto compress/size file & spaces in file name. brihan Before You Buy 1 April 6th, 2006 08:29 AM
File size limit in 5.13 firstrebel Photopost Pro Installation & Upgrades 19 August 22nd, 2005 02:45 PM
Photo File Size - Before and After oldengine Bugs From 1.0.0 13 January 21st, 2005 10:02 AM


All times are GMT -5. The time now is 04:31 AM.

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