Skip to main content
Participant
June 18, 2025
解決済み

I've been trying to insert picture to a 36x26 blank template And I want to automate the process

  • June 18, 2025
  • 返信数 3.
  • 370 ビュー

I've been trying to insert a picture to 36x26 blank template and adjust the the image to fit the template And save it as png. I want to automate the process because I've to add around 1000 images but every time I'm creating an action I'm running into some kind of error like transform not available, or just files are not getting saved. Please help me out I'm new to photoshop and I need this project to be done by the end of this week 

解決に役立った回答 Stephen Marsh

Posting a screenshot of the action with the steps expanded/disclosed would help.

 

There are likely to be multiple ways to structure the action for the same result.

 

With a batch action, each of your images will be opened one at a time, then your action steps will need to create the blank template at the required size, position etc. Or the blank template could be placed or copied/pasted.

 

Your original topic title is looking at this the wrong way for a batch action:

 

"insert picture to a 36x26 blank template"

 

When the way to approach this is:

 

"insert a 36x26 blank template into batch pictures"

 

This might be better done with a script. I"ll post some links when I have time to search them up..... Or you could try searching the forum.

 

Edit: one script here for batch single image collage template.

 

https://github.com/MarshySwamp/JJMack-Archive

返信数 3

Conrad_C
Community Expert
Community Expert
June 19, 2025

If you need to do this around 1000 times, recording an action is probably not the best way to do it, because you have to have a way to automate making the image different in each document. You could set up the action to stop at import and ask you for the image you want to insert, but again, you probably don’t want to sit there to select a different file 1000 times, so that’s impractical.

 

Photoshop has a feature that might work better: Data-driven graphics (Variables). You provide Photoshop with a template Photoshop document with a placeholder layer, a folder full of images, and also a spreadsheet that tells Photoshop which photo to put in which layer. Photoshop can read the rows of the spreadsheet and make one document for each row. You end up with 1000 files that each have a different image from the folder. Once you start it, you can walk away and come back when it’s done doing them all.

 

This is the Adobe help article about data-driven graphics:

https://helpx.adobe.com/photoshop/using/creating-data-driven-graphics.html

 

People have probably also made videos demonstrating it on YouTube, but I haven’t looked to see what’s up there about this feature.

 

If the images are different sizes, you don’t have to do any manual transforming because the Method option gives you different ways to tell Photoshop how to resize each image to the size of the placeholder layer. This is the Method option covered in the link above. So if you make the placeholder layer the right size, you can have Photoshop make every image fit it.

 

If the Variables feature doesn’t produce PNG files in the end, you can always convert them to PNG in bulk, using the Export panel in Adobe Bridge or a Photoshop action applied using the File > Batch command.

wonder_2521作成者
Participant
June 19, 2025
  1. First of all seriously thank you so much for replying. I tried it at first ran into few errors but now it's sorted and I'm able to run around 240 images. And once again seriously Thank you so much.
Stephen Marsh
Community Expert
Stephen MarshCommunity Expert解決!
Community Expert
June 18, 2025

Posting a screenshot of the action with the steps expanded/disclosed would help.

 

There are likely to be multiple ways to structure the action for the same result.

 

With a batch action, each of your images will be opened one at a time, then your action steps will need to create the blank template at the required size, position etc. Or the blank template could be placed or copied/pasted.

 

Your original topic title is looking at this the wrong way for a batch action:

 

"insert picture to a 36x26 blank template"

 

When the way to approach this is:

 

"insert a 36x26 blank template into batch pictures"

 

This might be better done with a script. I"ll post some links when I have time to search them up..... Or you could try searching the forum.

 

Edit: one script here for batch single image collage template.

 

https://github.com/MarshySwamp/JJMack-Archive

wonder_2521作成者
Participant
June 19, 2025

Thanks alot!!!! This is a big relief for me finally the above script works.

Stephen Marsh
Community Expert
Community Expert
June 19, 2025
quote

Thanks alot!!!! This is a big relief for me finally the above script works.


By @wonder_2521

 

So you don't need any other script links? The collage script from the late JJMack fixed this for you?

 

Still happy to advise on the action.

wonder_2521作成者
Participant
June 18, 2025

I've just noticed the action playback of transforming image to fit the template and saving it as png is working if I'm just dropping the image to the template manually one at a time but it's not working when I'm trying to run this action as batch