Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Batch replace text and image on mockup

New Here ,
Jan 18, 2023 Jan 18, 2023

Hello everyone,

 

i have a file which contains a book cover image and behind this image related text. Those image and text has to be changed. (Actually there are 5 different colour for background but it is not super neccesary to change them on first step) I have no idea about scripts so that I don't know if it is easy or not, but maybe i can find or edit any script which can help me to do that?

 

Thanks in advance for your helps.

 

Screenshot 2023-01-18 at 13.09.32.png 

TOPICS
Actions and scripting , macOS
1.0K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe
Community Expert ,
Jan 18, 2023 Jan 18, 2023

An easy way to set it up would be to use Layer Comps (Window > Layer Comps). With Layer Comps, you would have all of your layers in the same file, but you would only turn on the visibility for the layers you want to show and save that as a Layer Comp. Repeat by turning on and off layers for each combination you want to show and saving another Layer Comp. You can export all of the Layer Comps at once, too, by going to File > Export > Layers Comps to Files... Here's more information about Layer Comps:

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 18, 2023 Jan 18, 2023

Thank you very much for your input. It is helpful to see the function of Layer Comps, which was new to me. But I think I need something else. Or i can not imagine how this function help me. Let me clarify: The text in the text box and the image in the smart object have about 400 different variations. I need to automate them. Let's put it this way: the smart object layer should select the image, and at the same time the text layer should pull a text associated with that image. After they are replaced - ideally select a random color in one of these layers - and saved as png or jpeg.  Is it possible to automate this somehow?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 18, 2023 Jan 18, 2023
LATEST

Thank you for the clarification. With that many elements to swap out, I would recommend using variables and data sets. Here's more information:

https://creativepro.com/photoshop-automation/ see under Data-driven Graphics

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines