#1  
Old 31st August 2011, 21:12
manarak manarak is offline
Senior Member
 
Join Date: Apr 2009
Posts: 263
Thanks: 32
Thanked 6 Times in 5 Posts
Default Resample images on server

I've inherited an old server where the customer's editors and moderator upload images into galleries.
They are not very tech savvy, so they are not very good at resizing pix.

Now it has grown to 10GB and I am running out of disk space.
I know I need to upgrade the server and change their gallery system, but for now I am out of time and need to resample their pics to buy time.

Do you know a script that can scan a directory and its subdirectories for image files, check their size and "weight" i.e. bytes/data against pixels/dimensions and perform a resize/resample whereever necessary?
Reply With Quote
Sponsored Links
  #2  
Old 1st September 2011, 19:10
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
Default

Not sure, but maybe you can do this with ImageMagick.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
The Following User Says Thank You to falko For This Useful Post:
manarak (1st September 2011)
  #3  
Old 1st September 2011, 19:44
manarak manarak is offline
Senior Member
 
Join Date: Apr 2009
Posts: 263
Thanks: 32
Thanked 6 Times in 5 Posts
 
Default

aaah, good idea, thank you!
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sending email issue lezelf Installation/Configuration 15 9th August 2011 11:20
ISPConfig 3 Installation - Postfix queue stuck andrew971218 Installation/Configuration 21 15th July 2011 14:42
Statistic not working mzo Installation/Configuration 49 20th April 2011 12:19
Problem with keeping Apache alive bobeq Server Operation 3 29th November 2007 16:11
Rejecting outbound mail tristanlee85 General 11 20th May 2007 17:04


All times are GMT +2. The time now is 10:19.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.