I’ve been looking for the simplest, free method to resize images. There’s SO many ways to do this, and the best way to do it for WordPress is over here. But if you’re doing stuff locally on your computer, I’ve found this method to be my favorite:
- Use OS X Automator because it’s free!
- Use the ‘sips’ command because it comes pre-installed.
- Leverage the ‘Folder Action’ document type.
- Attach a short shell script to that folder.
- Any image you drag into the folder will be duplicated and made into a 1200px wide image.
Step 1: Choose Folder Action

Step 2: Add a “Run shell script” module

Step 3: Set the shell script to pass input “as arguments”

Step 4: Use this script
for f in "$@"
do
sips -Z 1200 -s format jpeg -s formatOptions 70 "$f" --out "${f%.*}.jpg"
done
Step 5: Enjoy!
All you need to do is drag any image file into the folder of your choice and you’ll get a resized image!
You must be logged in to post a comment.