Use an artboard as a template, exporting multiple versions with an image swap?


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!

12/19/2012 11:29:00 PM

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.

12/19/2012 10:12:00 PM