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?

J E L
Community Expert
Community Expert
February 24, 2022

Hi @extracampine, basically, write or copy your script to Notepad or Textpad and save the file with the .js extension. Upload that file to Photoshop with the Script Events Manager found under the File menu. Then run that script as needed. I hope that's helpful!

 

 

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".