Take the 2-minute tour ×
Graphic Design Stack Exchange is a question and answer site for Graphic Design professionals, students, and enthusiasts. It's 100% free, no registration required.

I have a frame in which different photos must shrink and fit into (frame size is absolute), and then save into different file names (preferably same name as the file that was fit into the frame). There are a total of 1400 images (with more coming in the future), so its hard to do with hand.

I tried data sets and variables. But that only lets me fit one image into the frame each time (with layer pixel replacement) . As the replacement pixel will only take a file, not iterate through a folder. Also i couldn't find a way to automate this process with actions.

So is there a way to have Photoshop iterate through the files of a folder. Fit them into the frame, then save them with the same name?

share|improve this question
Have you tried the File > Automate > Scripts > Image processor ? If you check Resize to fit it will keep the aspect ratio. You could add Action that makes sure that each document has identical width and height with canvas size and then make the document big enough to fit in your frame by using canvas size, place frame above the background and that should do it. –  Joonas Mar 26 '13 at 12:55

2 Answers 2

up vote 0 down vote accepted

You could create an action that resizes the images, then imports your frame onto the top layer and saves out the file.

Then simply create a batch render for the folder that contains your images.

Look for tutorials in creating actions and batch rendering in Photoshop.

share|improve this answer

The tool in photoshop you need is called Batch Processing (file > automate > batch).

You'll first need to create an action, then apply that action to the directory where your images are.

Check out: http://graphicssoft.about.com/od/photoshop/ss/basicaction.htm

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.