Skip to main content
Participating Frequently
July 3, 2020
Question

Batch replacement of smart object in laptop mockup.

  • July 3, 2020
  • 1 reply
  • 2732 views

Hey 

I have laptop mockup and almost 10,000 images and i want to put every single pic in mockup and save it as png. or jpg but i cant to do it one by one as it take a ages to do.So if anyone know any script which can work like that please answer me,it will be a great help..

Thank you

This topic has been closed for replies.

1 reply

JJMack
Community Expert
Community Expert
July 3, 2020

My Free Photoshop Photo Collage and Mockup Toolkit  Saves jpeg files for populated mockups and can optionally save a PSD layered version.  There is no png option.  The scripts are text .JSX files you could easily add png saving. To populate 10,000 images the script run time will be long.  Have a good bottle of wine to enjoy as you watch the script perform it deed.  Your laptop need freespace for Photoshop's scratch and 10,000 new jpeg files.

JJMack
Itach__iAuthor
Participating Frequently
July 7, 2020

Hey 

Thanks for your help,but i already know about your toolkit but i dont know how to use it.It will be a great help if you provide me some tutorial.you can mail me"shivamnegi896@gmail.com"

JJMack
Community Expert
Community Expert
July 7, 2020

Thanks its working fine...Will 2 mockups work at a same time???

 


The same replacement image will be populated into all the templates.  The templates can have different amounts of smart object layers  a Que of replacement for all possible smart object layers is required. If some templates have one smart object layer others two smart object layers and one has five  there need to be five feeds obj0, obj1, obj2, obj3 and obj4  so the template with 5 smart object can be populated. One user populated 41 labels into 84 templates over 3,000 jpegs were saved it took quite some time to process the batch.     Its in the documentation.

JJMack