Jump to content

Inserting Pictures


Jeffrey Elam

Recommended Posts

Hello,

 

I am attempting to create student ID badges. They would be business card size with the students picture on it. First is possible to switch about 120 pictures based on the childs name. If so, how? I have created a resource which contain the photos and using the graphic switch rule wizard but only one picture shows up for all the students. There are about 120 records. Any help would be greatly appreciated.

 

 

Jeff

Link to comment
Share on other sites

Please ensure that all the pictures are in the template job folder of your hard drive.

Then create a graphic Rule like so:

 

return CreateResource(Field("Pictures"));

 

//change field name to match your data file

 

In the graphic palette where this information will appear, specify this rule from the graphic frame properties window.

Link to comment
Share on other sites

data file needs to have a column with the names in it.

 

ex:

Column header called (version)

johnsmith.tif

barbaraswanson.tif

 

If there are two students with the same name, make sure the pic is named different. Probably add a "_1" at the end of the file name, before the extension.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...