Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

How to Resize Images with an Automator Quick Action

· 6 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

This guide shows you how to create a macOS Automator Quick Action that resizes images right from the Finder or your desktop. Instead of opening an image in Preview or a photo editor, you’ll be able to right-click any image file and choose your custom action to instantly scale it to a preset size. You only need a Mac running macOS Ventura or later (the steps are nearly identical on older versions) and the built-in Automator app—no extra software required.

What You'll Need

  • A Mac with macOS installed (any recent version works)
  • The Automator app (it’s already in your Applications folder)
  • At least one image file (JPEG, PNG, TIFF, etc.) to test with

Step-by-Step

  1. Open Automator. Go to your Applications folder and double-click Automator. If you don’t see it, use Spotlight (press Cmd+Space) and type “Automator”.
  2. Create a new Quick Action. When Automator opens, you’ll see a window asking what type of document you want to create. Choose Quick Action (on older macOS versions it may be called Service) and click Choose.
  3. Set up the workflow settings. At the top of the window, you’ll see two drop-down menus. Set “Workflow receives current” to image files, and set “in” to Finder (or “any application” if you want it available in other apps like Preview). Leave “Image” selected as the input type.
  4. Add the “Copy Finder Items” action (optional but recommended). In the left sidebar, search for Copy Finder Items. Drag it into the workflow area on the right. Set the “To” field to a folder like Desktop or Pictures. This creates a copy before resizing, so your original file stays untouched. If you prefer to overwrite the original, skip this step.
  5. Add the “Scale Images” action. Search for Scale Images in the library and drag it below the copy action. A dialog will appear asking if you want to add a “Copy Finder Items” action—since you already added one, click Don’t Add. In the Scale Images action, you’ll see a field for “Size”. Enter the maximum width (or height) in pixels. For example, type 1280 to make the longest side 1280 pixels. The aspect ratio is preserved automatically.
  6. Add a “Rename Finder Items” action (optional). If you want to avoid overwriting files with the same name, add a Rename Finder Items action. Set it to Add Text, type something like “_resized” and choose “after name”. This way, a file named photo.jpg becomes photo_resized.jpg.
  7. Save the Quick Action. Go to File > Save (or press Cmd+S). Give it a name like “Resize Image to 1280”. Automator will automatically save it to your ~/Library/Services folder.
  8. Test it. In the Finder, right-click (or Control-click) an image file. Scroll down to Quick Actions and you should see your new action. Click it. The resized copy will appear in the destination folder you chose (or the original will be overwritten if you skipped the copy step).
  9. Assign a keyboard shortcut (optional). Go to System Settings > Keyboard > Keyboard Shortcuts > Services. Find your action under “Files and Folders” and click “add shortcut” to set a key combination like Cmd+Option+R.

Common Mistakes

  • Forgetting to add a Copy action. If you don’t copy the file first, the Scale Images action will overwrite your original. That’s fine if you want that, but many users are surprised when their high-res original disappears.
  • Using the wrong input type. If you set the workflow to receive “text” instead of “image files”, the action won’t appear when you right-click an image.
  • Not saving after adding actions. Automator doesn’t auto-save. If you close the window without saving, you lose all your work.
  • Choosing “any application” when you only need Finder. This can clutter your right-click menu in other apps. It’s better to set it to Finder unless you specifically need it elsewhere.

Tips

  • Use a copy to keep your originals. Always add a Copy Finder Items action first. It’s safer and lets you experiment without risk.
  • Name your action clearly. Include the target size in the name, like “Resize to 1920px”. This makes it easy to remember what it does.
  • Create multiple actions for different sizes. You can have several Quick Actions, each with a different size, and trigger them from the right-click menu.
  • Add a “Reveal in Finder” action. After the scale step, add a Reveal in Finder action to automatically open the folder containing the resized image.
  • Test on a copy first. Use a duplicate image file (or a low-stakes photo) the first time you run the action to confirm it behaves as expected.

Troubleshooting

  • The action doesn’t appear in the right-click menu. Make sure you saved the Quick Action. Then check that the “Workflow receives current” is set to image files and the “in” is set to Finder. If you’re right-clicking a file that isn’t an image (like a PDF), it won’t show.
  • The action runs but nothing happens. Check the destination folder of the Copy Finder Items action. If you didn’t add a copy step, the original may have been overwritten—look at the file’s modification date and size. Also, verify that the Scale Images action is actually connected (the arrow should point from one action to the next).
  • The image is resized but the file size is larger. This can happen if the image format changes (e.g., from JPEG to PNG). Automator’s Scale Images action doesn’t change the format, but if you use a “Change Type of Images” action, it might. To keep file size down, stick with JPEG or use a separate compression step.
  • The action works only on one image at a time. Quick Actions can process multiple selected files. If you select several images and run the action, it will process each one. If it only processes the first, make sure the workflow is set to receive “image files” (plural) and not “image file”.
  • Automator asks for permission every time. This is normal. The first time you run a Quick Action, macOS may ask to access your files or folders. Grant permission and it usually won’t ask again for that action.

Frequently Asked Questions

Can I resize to a specific width and height instead of just the longest side?

Yes. In the Scale Images action, there’s a drop-down next to “Size” where you can choose “Exact Size” or “To Fit”. “Exact Size” lets you enter both width and height, but it will stretch the image if the aspect ratio doesn’t match. “To Fit” scales to fit within the given dimensions while keeping the aspect ratio.

Will this work on HEIC files from my iPhone?

Yes, Automator can handle HEIC files. The scaled image will keep the HEIC format unless you add a “Change Type of Images” action to convert it to JPEG or PNG.

Can I use this to resize images in bulk?

Yes. Select multiple image files in Finder, right-click, and run the Quick Action. Automator will process each file in sequence.

How do I delete a Quick Action I no longer need?

Go to ~/Library/Services in Finder (press Cmd+Shift+G and paste that path). Find the file with your action’s name and delete it. It will disappear from the right-click menu immediately.

Can I set the resize size dynamically each time I run it?

Yes. Instead of a fixed number, you can add a “Ask for Text” or “Ask for Finder Items” action before the Scale Images action. This will prompt you to type a size each time you run the Quick Action.

Does this work on macOS Sequoia or Sonoma?

Yes, Quick Actions are still fully supported in the latest macOS versions. The steps are identical, though the System Settings layout for keyboard shortcuts may differ slightly.