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 January 3rd, 2013, 10:06 AM   #1 (permalink)
Member
Verified Customer
 
Join Date: Jun 2003
Location: Dallas TX
Posts: 400
resize all images to save space

Do you have any ideas on a way to go through 12 gb of images and use convert or some other script to shrink file size by 20% ?

Looking for ideas

Any input welcome -

Trying to avoid deleteing old images etc
lowering max pixel size is one option
increasing JPG compression ( decrease quality ) is another

looking for easy defined ways to do this
Silver_2000 is offline   Reply With Quote
Old January 3rd, 2013, 11:08 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,945
You can rebuild medium and thumbnails through the program and any lowered size or quality setting would make them smaller.

As far as your main images they are never touched except when you actually upload them and sized accordingly to what size thresholds you have set. I use 1500 as a max for height width.

If your trying to rebuild all your original images you would need to create some type of script to do that. Not really some easy one or two lines I could post to help point you in some direction.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old January 3rd, 2013, 11:38 AM   #3 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,945
Okay well I offer no support or warranty this is posted for your personal use AS IS.

With that said make sure before you do anything back up your data directory. You should have backups as part of general website maintenance but this script should work.

Basically you need to lower the max height and width in upload photos to a lower size if you want to lower image sizes. You can then rename this script to resizephotos.php and then run it from your photopost directory

In theory this should work.
Attached Files
File Type: txt resizephotos.txt (2.2 KB, 3 views)
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old January 4th, 2013, 08:23 PM   #4 (permalink)
Junior Member
Verified Customer
 
Join Date: Jun 2011
Posts: 16
We had the same issue and lowered the quality on the medium size picture in admin options and rebuilt medium size photos. Worked like a charm.

Of course we backed up everything first and did it on our test server. Our database was 45gb.
tbworld is offline   Reply With Quote
Old January 4th, 2013, 09:24 PM   #5 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,945
Yes the test script I wrote here allows a user to redo the main images or in theory should.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old January 4th, 2013, 11:08 PM   #6 (permalink)
Member
Verified Customer
 
Join Date: Jun 2003
Location: Dallas TX
Posts: 400
well Im upgrading from raid 10 10k drives to SSD drives on the server tonight
after that Ill make a copy of the data folder and the DB and try the script

THANKS !!
Silver_2000 is offline   Reply With Quote
Old January 5th, 2013, 06:42 AM   #7 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,945
Make sure to rebuild thumbnails and especially mediums with a smaller size and see if that does the trick also. Image size is directly related to the overall dimension of the images so your only going to go down in size when you adjust the max sizes in upload options and use the scan database tools.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   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
Resize big images Geiri Photopost Pro How Do I...? 3 December 26th, 2011 01:32 PM
Resize images .. wrong way around. garybrun Installs and Upgrade - vBulletin 4 9 December 16th, 2011 07:31 AM
Resize original images Halfhidden PhotoPost Pro Support Forums 3 October 1st, 2009 04:23 PM
Resize images after upload b6gm6n Photopost Pro How Do I...? 5 March 4th, 2006 08:23 PM


All times are GMT -5. The time now is 03:59 PM.

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