Skip to main content
Participating Frequently
February 24, 2022
Question

Box mockup - how to batch insert front covers and save ?

  • February 24, 2022
  • 3 replies
  • 969 views

I have a box mockup, and a folder of 300 images. Manually, I follow the following steps:

 

1. Edit the smart object (the image that goes into the box)

2. Drag and drop the next image onto the existing one

3. CTRL+F (expands the size of the image to fit the canvas size)

4. Save smart object

5. Close smart object

6. Export image (box with embedded image) to PNG

 

I then repeat the above for the next image. I'm looking for some advice on how to automate this, using actions, automate batch or any other method! Thanks!

This topic has been closed for replies.

3 replies

Earth Oliver
Legend
February 24, 2022
Participating Frequently
February 24, 2022

Thanks; I did come across that in my search, but I'm not familiar with scripts - do I have to copy and paste that code somewhere in Photoshop? How do I automate it?

Stephen Marsh
Community Expert
Community Expert
February 25, 2022

@extracampine wrote:

I'm not familiar with scripts - do I have to copy and paste that code somewhere in Photoshop? How do I automate it?


 

Quickstart:

 

  1. Copy the code text to the clipboard
  2. Open a new blank file in a plain-text editor (not word-processor)
  3. Paste the code in
  4. Save the text file with your desired filename with a .txt extension
  5. Rename the file extension from .txt to .jsx (ensuring that there is no double extension)
  6. Install or browse to the .jsx file to run (see below)

 

https://prepression.blogspot.com/2017/11/downloading-and-installing-adobe-scripts.html

 

 

Kukurykus
Legend
February 24, 2022

Is Ctrl & F your personal shortcut? If so, which menu item it refers?

Participating Frequently
February 24, 2022

CTRL+F runs the script "fit layer to canvas".