Auto mogrify a batch of images in a folder
Posted: 2013-10-02T18:50:33-07:00
Hi -
Hoping someone can really help me... I have users on a WordPress site that upload jpg images, which all go to a certain directory. These images can range from 10k to 10MB. I need this folder of images to be a small and semi-consistent file size for web viewing purposes, so I don't eat up bandwidth and storage on my server. Can someone please shed some light on how to make this happen. I want to use the mogrify command and overwrite the larger file in place (and not affect the ones that have already been saved to the smaller size). I would also like this script to auto-run if possible, then I could "set it and forget it" (that would be sweet!) Thanks in advance
(my apache server has ImageMagick installed and running)
Hoping someone can really help me... I have users on a WordPress site that upload jpg images, which all go to a certain directory. These images can range from 10k to 10MB. I need this folder of images to be a small and semi-consistent file size for web viewing purposes, so I don't eat up bandwidth and storage on my server. Can someone please shed some light on how to make this happen. I want to use the mogrify command and overwrite the larger file in place (and not affect the ones that have already been saved to the smaller size). I would also like this script to auto-run if possible, then I could "set it and forget it" (that would be sweet!) Thanks in advance
(my apache server has ImageMagick installed and running)