Mattina Zheng | Video Editor, Singapore
Home » Uncategorized » Batch resize images to fit into fixed dimensions in Photoshop

Batch resize images to fit into fixed dimensions in Photoshop

Here’s my steps to batch resize images of various sizes to fit into fixed dimensions on Photoshop.

For this example, let’s say my objective is to resize 1000 images of different dimensions and force fit into a portrait image with a white background measuring at 500 x 638 pixels, with the images optimised for web.

The solution is to automate this process, here’s how in 18 clear steps:

1. Create two folders, one to hold your 1000 images of various sizes and another one to contain your resized images. I named mine as “Cats” and the resized image folder as “Cats 500×638”.
Photoshop Batch resize images to fit into fixed dimension 01

2. Open one image from your batch of photos. Mine’s a landscape photo measuring at 1920 x 1200.
Photoshop Batch resize images to fit into fixed dimension 02

3. Open the Actions Panel under Window > Actions
Photoshop Batch resize images to fit into fixed dimension 03

4. At the Actions Panel, click on Create New Set
Photoshop Batch resize images to fit into fixed dimension 04

5. Name your set, I named mine as “Resize Images”
Photoshop Batch resize images to fit into fixed dimension 05

6. Click on Create New Action
Photoshop Batch resize images to fit into fixed dimension 06

7. Name your action, so that you can identify it later when you set it up for Batch automation. I named mine as “500×638”
Photoshop Batch resize images to fit into fixed dimension 07

8. Click on Begin Recording, the red record button will be on, any processes done on Photoshop
will now be recorded.
Photoshop Batch resize images to fit into fixed dimension 08

9. Go to File > Automate > Fit Image…
Photoshop Batch resize images to fit into fixed dimension 09

10. Enter 1 pixel smaller than your desired size for the width and height. For my case I need my
resulting file to be 500 x 638, so I will set it as 499 x 637.
Photoshop Batch resize images to fit into fixed dimension 10

The reason why I didn’t just set it to 500 x 638 right away is that in step 12, the automation recording cannot register a change in keystrokes, if I were to already change to 500 or 638 pixels during this step.

11. Make sure your background colour is set to your desired colour, for me it’s white as all my photos are against a white backdrop.
Photoshop Batch resize images to fit into fixed dimension 11

12. At this step, your image should already be resized. Now I need to force fit it to my desired dimensions.
Go to Image > Canvas Size…
Photoshop Batch resize images to fit into fixed dimension 12

13. Over here I set them to 500 x 638 pixels.
Photoshop Batch resize images to fit into fixed dimension 13

14. Here’s the resulting resized image. I still need to optimise the image for web.
Photoshop Batch resize images to fit into fixed dimension 14

15. To save for web, press (Windows) CTRL + ALT + SHFT + s or (Mac) CMD + ALT + SHFT + s, to bring
up the window. Select your desired file format and save it at your resized folder. Press ok and then close your file without saving.
Photoshop Batch resize images to fit into fixed dimension 15

16. Now that the whole image resizing is done, go to the Actions Panel and click Stop.
Photoshop Batch resize images to fit into fixed dimension 16

17. Go to File > Automate > Batch… to configure your automation.
Photoshop Batch resize images to fit into fixed dimension 17

18. Under Play, select the Action that you’ve just created and select the Source and Destination folders as you’ve created back in Step 1. The automation will start after you clicked on Ok. Now sit back and sip tea.
Photoshop Batch resize images to fit into fixed dimension 18
I hope I’ve made a crazy task of converting 1000 images of various dimensions to fit into fixed file dimensions easier now.

3 comments

  1. It allows you to minimize alot of the tedious work of doing the same thing to plenty of images, for instance restrict to width resizing or watermarking.

  2. Again, this isn’t a life-or-death thing. I could always manually resize the 30+ images. But it seems like there should be an easier way. Has anyone come across this?

  3. It allows you to minimize alot of the tedious work of doing the same thing to plenty of images, for instance restrict to width resizing or watermarking.

Leave a Reply

Your email address will not be published. Required fields are marked *

2015. Mattina Zheng.