View Single Post
Old 31st August 2011, 22: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