Envira Gallery Blog
Digital Photography Tips, Tutorials and Resources
Digital Photography Tips, Tutorials and Resources
Last updated on May 28, 2024 by [email protected] Reader Disclosure
Resizing your images for different use cases can be tedious, especially if you need to resize more than one photo. If you’re submitting photos, or using them for a website, you’ll need to be able to quickly change the pixel dimensions of those images. Luckily, a photo editing program like Adobe Photoshop can help you batch resize images for fast and accurate results.
In this article, we’ll show you how to batch resize images using Adobe Photoshop. Of course, you’ll need to have installed Photoshop to follow along with this tutorial. If you don’t have it yet, you can get Photoshop from Adobe’s site here.
Photoshop offers two methods for batch resizing images. In Photoshop, you can choose to batch resize your images by using:
While it’s simpler to use Photoshop’s Image Processor for batch resizing, it doesn’t always work as well, especially if you need to batch resize images saved as different types of files, or as photos with differing dimensions.
Instead, we recommend creating your own batch resizing Photoshop Action, which gives you total control over the batch resizing process. This method is more reliable in the long run, even though it takes more up-front effort to set up.
While it might seem daunting, creating a batch resizing action is actually simple, and it will save you time and effort once you’ve created it.
Whether you decide to use Photoshop’s Image Processor or create you own Photoshop Action, you’ll first need to cull your images into a folder for resizing. Remember to store this folder somewhere easily accessible with a path you can remember. Then, make sure that all the images have file types that work with Photoshop!
Here’s the folder of images that we’ll resize:
Notice that each of the 4 different images all have sizable differences in file size. A selection of image files like this would prove troublesome for Photoshop’s built-in Image Processor. That’s why we’re going to create our own custom resizing function.
But first, let’s try to resize these images with the Photoshop Image Processor.
Once you’ve opened Photoshop, make your way to File >> Scripts >> Image Processor in the application toolbar:
Selecting this option opens the following Image Processor menu:
Now it’s time to choose the folder containing the images you want to resize. Select your folder by pressing the select folder button under 1) Select the images to process.
Your menu should look like this right before you run the process:
Let’s talk about the other settings available in the Image Processor dialog box. Once you’ve selected your file folder, you have the option to include all sub-folders for the data structure. If your image folder contains sub-folders with additional images that need resizing, check that box.
Open the first image to apply the settings. This is great for other processes but less useful for our image resizing.
In the second option 2) Select Location to save processed images, make sure to create a second folder to save your resized images. This will save you renaming headaches, along with differentiation problems.
The 3) File Type option allows you can change the image sizes. Because all the images in our folder to resize are 2×3 and vertical, we’ve chosen a resolution of 2,000 by 3,000 pixels. You can change these values depending on your preference.
Additionally, choose the file type that will work best with your original files and your intended use for the resized images. You’ll likely find that JPEGs work best.
Then, click to run the process on your images. When Photoshop is finished, you can find your resized photos in your new folder:
As you can see, after running the Image Processor, the sizes of the resized images are generally closer. But, you’ll also find that not all the dimensions are exactly the same for each photo.
This is common in Image processing scripts, as none of the original images were perfectly 2×3. Instead, the Image Processor attempted to retain the 2×3 nature to minimize image distortion.
Now, let’s move on to a better way of batch resizing images!
If you’ve never created an action in Photoshop before, you’re in for a treat. Actions allow you to save processes that you often use on your images during post-processing. Simply record the steps you typically take, and then save them to apply to future images.
Certainly, actions are helpful when working on single images. For example, I often use frequency separation to work on portraits. Having an action to automatically do all the grunt work associated with frequency separation makes the process a lot easier, and a lot more fun.
However, actions are at their best when used with Photoshop’s batch processing function. Before we dive into the batch processing, let’s learn how to create a Photoshop action.
To start, open a new document in Photoshop. It really doesn’t matter what this document is, you just need to have access to the Photoshop workspace. Then, go to Window >> Actions or press Alt / Option + F9 to open your actions pane.
Your action pane will look something like this:
Play around with Photoshop’s default actions to get the feel of using them. Simply choose one, then press the play button. Some actions have parameters, others just run.
To create a new action, press the + button on the bottom menu. This will prompt a pop up menu to name your action. We’ve named our action Resize plus the resized dimensions 2,000×3,000:
You can also assign your action a color label from this dialog box. Choosing color labels for your actions based on when you typically apply them during the editing process can help keep you organized. For example, an ordering system where cool colors mark front-line editing and warm colors denote end-stage editing creates a filing system that helps you find the right action quickly.
Next, press record. The record button on your actions panel will turn red when it’s active, like this:
As you create an action and add steps to it, you’ll see that Photoshop records each new step into the action.
Once you’re recording, you can choose the steps that you wish to take. To resize the image, go to Image >> Image Size or press Alt / Option + Control/Command + I.
Additionally, take notice of the Image >> Canvas Size option. This option will change the size of the canvas, but not the image. This means that you will add background but not actually resize your image.
An action with Canvas Size additions can help you create prints with equal borders on all sides. If you are planning on matting prints, you may want to use this to make sure the image is not being cut off by the mat when printed.
Here’s what the correct Image Size menu looks like:
You can work in either pixels or inches, and reset your DPI to whatever you choose. For batch resizing, it is best to set Resampling it to Automatic. Use the drop down menu, or press Alt/Option + F1.
You want to make sure the link between Width and Height is unbroken, as seen in the image above. That means that when resized, the image will not be cut off or have random background added.
Additionally, choose either the width or the height as your guiding measurement. We chose a width of 2000 pixels. This means that when we use this action, Photoshop will adjust the image width to 2000 pixels and change the height accordingly without altering the photo’s aspect ratio.
When you’re done with these settings, press OK or Enter/Return. At this point, your action panel will have updated.
Now, press the stop sign icon next to the red recording sign to stop recording the action. You can press the dropdown arrow next to “Image Size” in the action panel to review what you programmed:
Now you’re ready to use this action to batch resize images!
Now that you’ve created an action, how do you apply it to a folder of images to batch resize them? The action you’ve just created can be applied on any image you have open by pressing the Play button on the action pane.
To apply the action to multiple images in one step, first go to File >> Automate >> Batch… in Photoshop’s toolbar. This path takes you to the batch automation image processing function:
Below you’ll find a photo of the batch automating process menu. There are several different panels here, each of which controls a different part of the process. Depending on what you’re doing, select options that are relevant to your task.
In the Play submenu panel, make sure to select your action. While we saved our resizing action to default actions, you may have chosen a different folder.
Second, use the Source submenu panel to select the folder you’re working from. This is the same test folder that we worked from for the Image Processing test at the start of this guide. Select the options that are important for your process.
We recommend never creating actions that open the images for you, as many of them tend to break or be otherwise unhelpful.
Third, use the Destination submenu panel to choose where you want the new, resized images to go. You can override Save As… commands if you choose, but saving to a new folder is a cleaner way to go.
Lastly, the file naming option allows you to be rather precise with your new files’ names. For now, feel free to use it, but for batch renaming, using something like Notepad++ is both easier, more versatile, and cleaner.
Press OK, and be greeted with the folder of your resized images:
All these images have now been resized exactly to the specifications of the action we created. This process takes less time once you set it up, which means batch resizing images will be a breeze in the future.
Additionally, you can use this resize action while working on an active image within the Photoshop workspace, so you don’t have to wait to batch process until you’ve finished all your editing. If you liked this guide, be sure to check out our article on how to resize WordPress images automatically.
If you like this article, then follow us on Facebook and Twitter for more free photography resources. Don’t forget to sign up for our email newsletter so that you’re up to date on all of our free photography information!
Envira Gallery helps photographers create beautiful photo and video galleries in just a few clicks so that they can showcase and sell their work.
File > Scripts > Image Processor
Why not just use the much simpler method supplied by Adobe.
Hello Ken,
We explain the detailed process for the beginners. Thanks for sharing this method with our readers. 🙂
When I run that script, I can’t resize images that are of different proportions.
The Script section is problematic for portable (or hacked) Photoshop, which most people use. For the common usage, it’s better the batch processing.
Thanks, that was super helpful!
Hello Sven, I’m glad you like it. Do follow us on Facebook and Twitter for more free photo editing guides. 🙂
The above method is more powerful than using the Image Processor script. In addition to resizing to a fixed size, you could resize multiple images with different aspect ratios to all the same width, for example, or convert all the image’s color scheme, etc.
The Image Processor script is great if ALL you need to do is resize to a fixed WxH, but for more edits to each image, the above system would be needed.
Hey Kevin, thank you for your input. 🙂
This method retains the file name I initially saved to, which means when I run the batch it just saves over the same file every time it opens a new one to process. I’ve solved this before, twice, but it’s years between each attempt so I forget how.
Help pls!
I believe you can adjust the output in the destination setting. Here’s a reference: https://helpx.adobe.com/photoshop/using/processing-batch-files.html. Hopefully, that solves the issue for you. Let us know if we can help with anything else!
Awesome tutorial. Worked perfect!
Can you please explain the process to batch resize photos based upon size, not on dimensions, as we have a mix of portrait and landscape photos in a folder.
Does it work to change dpi without resizing the photos? I tried this way and couldn’t do it.
This worked for me and saved me a LOT of time. Thank you!
Your awesome man…..
why do i have to push ok on every photo that is resized – how do i get it to just batch automatically – did i not check something
thanks for sharing