Subscribe to the Blog


How to resize Instagram photos to print on 4x6 prints

 Instagram is a pretty popular web site. I use it occasionally, but my wife uses it much more than I do. I recently bought her a calendar of her Instagram pictures, because she is always trying to figure out a way to print those pictures out. 


The problem is that square pictures don't print out very well in our portrait and landscape life. 

She searched around on the internet and found this gem ( . 

Pretty awesome, but I wanted something a little more automated. 

So, I tweaked it a bit. 

Step 1. IFTTT Rule: Instagram to Dropbox is a great automation web site. I'll let them explain it here

This rule saves every Instagram picture my wife takes to the dropbox folder ifttt/instagram.

Step 2. Automator Application


The updated automator application (saved in my applications folder) 

The updated automator application (saved in my applications folder) 

I changed the original automator actions to copy the finder files (to a folder on the desktop), then scale them to 4000, then I pasted the AppleScript from the directions (also seen below). Now I have an App that can run when images are "Opened with..." it.

But wait, there's more!

Step 3: Hazel rule

Hazel bringing up the rear

Hazel bringing up the rear

What this Hazel rule does is scan the IFTTT/Instragram folder for new images. Once those images are found, it opens them with the app created in Step 2, and colors them green so you know they have been processed (copied to the ready to print folder, and scaled up to print easily on 4x6 paper).  

Wrap up: 

Now, whenever my wife posts a picture on Instagram, IFTTT will download it to her computer, then Hazel and Automator will resize it and move it to a folder on her desktop.  How awesome is that? 

What this means is that whenever she finds a deal on 4x6 prints, or wants to print a bunch at once, she will have a folder ready to be uploaded to a print service.   


If you don't have Hazel, or want to select your photos from iPhoto to be resized and padded for a 4x6, you can use this automator app. To use this, just select the photos you want to print while you are in iPhoto, and launch this app. If that app doesn't work, the screenshot for the automator application is below the code.

Here is the code for the AppleScript: 

on run {input, parameters}

repeat with each_image in input

tell application "Image Events"


set next_image to (open each_image)

pad next_image to dimensions {6000, 4000} with pad color {65535, 65535, 65535}

save next_image with icon

close next_image

end tell

end repeat

tell application "Image Events" to quit
return input
end run
Less-automated version.  

Less-automated version.