In Photoshop (please don't insist on Illustrator or other software), I can use actions and create batches with variables etc. But this one is quite tricky for me.

Let's say there is an image file I need to create which will have a flag image from the root folder (e.g. USA_FLAG.PNG) and text near it that will be allocated in a Text box (e.g. "United States of America").

I can create a .txt file stating:

usa.png,United States of America

How do I do this?


There is a Photoshop feature that does exactly what you need.
Go Image > Variables > Define
Set variable for each layer, then import your .txt file.
Finally File > Export > Generate graphics using data sets.

See example below:
(more info here)

enter image description here

  • I was actually aware of variables which i use in creation of badges but i really did not know this doubling feature. I'm really thankful for your sincere help.
    – Ahmet
    Apr 21 '17 at 11:42
  • @Ahmet You are very welcome ^^
    – Vinny
    Apr 21 '17 at 11:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.