Automating Photoshop to crop and reposition multiple photographs

Colin Smith

How to use Photoshop scripts to save time!

Subscribe on YouTube:

Reframe and resize bulk images in Photoshop – resizing for Instagram etc

This Photoshop tutorial shows you how to work with multiple photographs, the easy way. Use Photoshop scripts to automate putting images into a layer stack. Then non-destructively crop and then make individual images from each layer.

Have you been doing it the the hard way?

Step 01. Loading the images into Photoshop

Don’t load them in 1 at a time please. Choose File>Scripts>Load Files into stack.

File > Scripts menu with Load Files into Stack highlighted

Step 02.

Click on Browse. (If they are already open in Photoshop, choose Add Open Files).

Load Layers dialog with the Browse button to choose source files

Step 03

Browse to the folder of images and select the images you want to import. I click dragged around them all. Ctrl/Cmd+A will also select all.

Click ok

Ten photos selected in a folder to load into the Load Layers dialog

Step 04

You will see the files about to be added

Click OK

Load Layers dialog listing the selected image files

Step 05

You will now see all the images loaded into layers. The document size will be the size of the largest images. They aren’t resized from their original sizes. (If you want them the same size, you can use File>Scripts>image processor)

All the photos loaded as layers in one document, an eclipse sequence on top

Step 06. Resizing all the images

Choose the crop tool.

In this case we will resize for Instagram at 1080 x 1080 square.

Choose W+H+Resolution

Type in 1080px (px will make them pixels) and 72 for px/in

IMPORTANT! Turn off Delete Cropped Pixels, so it just makes a window around the layers and doesn’t actually crop them permanently.

Crop tool options set to 1080 x 1080 px with Delete Cropped Pixels turned off

Step 07

Drag the corner of the crop window until it fits one of the smaller images.

Click the checkmark / press Enter to apply the crop

Square crop box over a woman playing violin in a field of orange flowers

Step 08

Choose the top layer

Press Cmd/Ctrl+T for free transform.

Scale and position the layer to fit within the crop window. Press Enter to apply. Notice that you can position the layer and it isn’t cut off because you are using non-destructive cropping. (Because you turned off Delete Cropped Pixels)

Violin photo scaled and positioned inside the square crop with Free Transform

Step 09

Hide the top layer.

Choose the next layer and repeat step 8 to scale and position.

Go through each layer, positioning and scaling the layers until each one looks good.

Next layer, sailboats in golden light, scaled to fit the square crop

Step 10. Turning each Layer into its own image.

Don’t export each layer separately.

Choose File Export>Layers to Files

File > Export menu with Layers to Files highlighted

Step 11

Click Browse next to destination to choose the folder to save the images in.

You can also add a name if you like, this will be appended before the original file name.

Choose jpg and 7 quality for web/social media.

Click Run

Export Layers To Files dialog with prefix cropped, JPEG at quality 7

Step 12

All the layers will be saved as individual images.

Ten exported square JPEG files named myPic_01 to myPic_10

Step 13 – Batch rename in Bridge.

If you want to rename multiple photos at once, bridge is the fastest way.

Click the arrow next to the document looking icon at the top of bridge and choose Batch Rename.

The ten square photos shown in Adobe Bridge

Step 14

You can add or remove fields by clicking the – or + signs at the right of the fields.

Under New Filename Use Text and enter your desired name.

If you want to add incremental numbers, choose Sequence Number. Type the number you want to begin with. 1 in this case and choose the number of digits. (This will effect leading zeros).

Click Rename.

Bridge Batch Rename dialog naming files ForIG with a two-digit sequence number

Step 15

All done

The ten photos renamed ForIG01 to ForIG10 in Bridge

I hope this little tutorial saves you lots of time.

If it does, please take a few of those valuable seconds I just saved you to share this with a friend or 2 on Social Media or email.

Great to see you here at the CAFE

Colin


Follow along for more tips

Keep growing with Premium Courses

Photoshop 2026 for Digital Photographers

Learn Photoshop properly, from the basics to pro retouching, step by step.

$129.00 · one-time purchase · instant download

Photoshop Vault: free Layer Blend Modes ebook, actions, brushes, presets and cheat sheets

Free for you

The Photoshop Vault

Get my free Layer Blending Modes ebook along with dozens of exclusive Photoshop goodies: actions, brushes, presets and cheat sheets.

You're on the list, so your free goodies are waiting for you in the Vault.

Get Free Photoshop Goodies Open the Vault

21 comments

  1. Julie Boyle

    Not seen this procedure before. I found it absolutely brilliant. Thank you Colin.

  2. Not sure if just a resize is useful… aren’t you concerned about losing most of your image if you are not scaling? How can I actually resize, the entire images please?

    1. Colin Smith Author

      Sometimes you have to fit an image within a certain size, no matter what. You can automate any sized image, this is just a spring board for you to begin your own experiments and build workflows that you will use.

  3. Nissan Lev-Ran

    Script is a Great tool
    I wish I could SCRIPT a bunch of files that differ Landscape & Portrait & sizes – put a Fixed Signature (a brush) and save it.
    Sure one cant add more functions like any filter, action, Sharpen etc. on the fly.

  4. Colin Sullivan

    Hi Colin, I have been watching your videos for many years now ,and they have given me Photoshop experience that I good never have achieved by reading a book., so thank you.
    I live in Western Australia and I look forward to receiving your video’s every week.
    Thank you again.

  5. WOW! In the past 20 years there’s no telling how many hours I wasted doing it the old way. Many thanks!

  6. Great tip! Real time saver. I always learn something new from your tutorials

  7. Pascale Vayer

    Very happy to be a new member! I am sure I will learn Photoshop very fast with your tips.

  8. namidevi

    HI Colin, I am fairly new to Photoshop and new to Photoshop CAFE. Your tutorials are easy to follow, and very helpful!
    Thanks a million for making these available for Photographers both novice and expert. You are amazing!

  9. Saul Molina

    Hi Colin, and thank you!

    Just a small detail I haven’t been able to figure out… as a begin to work on the layers the one before gets moved by the modifications I performed on the current one.

    Can you help me to fix this?

    Thanks again!

  10. James Elam

    Colin!

    This has saved me countless hours! Thank you so much for these really genius tips. I’m working with hundreds of product images for a website, all similar in size as they are all varients, and working one by one, trying to batch crop and products misaligned – this was a time saver of ginormous magnitude. This will also speed up my social media posts and many other workflows! I would love to see you in Skillshare. Thank you again!

  11. Do you know if it’s possible to use script to create layered images, from stacks in Bridge (or some other way to tell PS which images you want layered) and then save them as TIFF’s automatically? It doesn’t seem like you can create a batch process using Photomerge and PS will also name all the same thing (which script doesn’t seem to do).

    I want to layer up several images into one TIFF so that mask out portions of each layered image, but I have about 30 layered images to make and want to do it all automatically and have them saved as differently named TIFF’s

  12. Gaetano

    Hi Colin, this is really a useful script to resize and fit images for e-com. I only like to know if there’s a way to keep the original name when saving the layers. Now it adds to each file “_0000_” before the filename and the extension “.jpg” at the end (I chose JPG when saving the files). So the result is something like this _0000_original-filename.jpg.jpg. I know how to solve it using bridge but it would be nice if I can skip the second pass on bridge. Thanks for any input you can share.

Leave a comment

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Copy link