I have an artboard with a card design and I have an image that have to change one hundred times inside that. It´s an image that changes the meaning of the card, but it will always have the same width and height. Those images are a JPG file, that I will place on that card design AI file.

Is there any solution without using one hundred different layers? Like an action?

Thank you!

  • have you tried using layers? Nov 19, 2012 at 12:51
  • Yes, i know that I can use layers. But I was looking for a script, action, something like that...
    – Anna
    Nov 19, 2012 at 13:06
  • Are you placing the images manually and trying to automate the export? Or are you trying to automate some kind of transformation on the jpgs? Dec 19, 2012 at 19:21

4 Answers 4


Not in Illustrator, but InDesign would let you do this pretty easily. Any repeating elements could be added to a Master. You could even use dynamic data to import those images if you have them in a list somewhere.


I think I get what you're saying now. You have a design with one image position that will be changed out with 100 different images. Right?

In that case you have two roads:


Use the Variables feature Horatio mentioned.

You could also set up a javascript that will read the directory of images and loop through each found image performing the following tasks.

  1. Relink the image on your layout
  2. Export the artwork to your chosen format

You would get into trouble if your images aren't all the same size. It would relink them at the same size, doing whatever squishing and stretching was necessary.

A more manual alternative is ...

  1. Build your basic layout
  2. Place that file into a new document (or another artboard)
  3. Duplicate the artboard 100 times
  4. Position your images
  5. Run a script to export all your artboards


Set up your template design and follow these guidelines for data merge. You'll just have to tag the image element in your layout and put the path to your images into a spreadsheet so data merge can do it's thing.


Make the card in flash as a 100 frame animation and export the individual frames as your 'artbaords'.

Im not sure if thats applicable to you design but if it is just tiny changes in each card it may work to do it as an animation


Illustrator has a Data and Variables feature (window->variables) (which I have not used) that can handle graphics and linked files, as well as text.

Adobe Online Documentation: Data-driven graphics through templates and variables

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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