Jump to content



Recommended Posts

We have a postcard that requires variable data and variable graphics.

There are over 800 jpegs (photographs of houses) that have to be placed as resources for the variable graphics (these images are in a folder on my drive). They are numbered and the corresponding variable data is a text file with addresses. How can I bring in the variable graphics and have it mate with the corresponding variable data if they are not in a database file of some sort.

Please let me know A.S.A.P.


Thank you.



Art Director

Hard Copy Printing

Link to comment
Share on other sites

How are you intending on matching the images to each address if there's nothing in the data to drive the variable images?


If the images are named sequentially 1-800 (i.e. 1.jpg, 2.jpg, etc) and the image corresponds to the record (i.e. record 1 returns 1.jpg, record 50 returns 50.jpg, etc) then you could do something like this:


return CreateResource("/path to graphics/"+ ToString(CurrentRecordNumber()) + ".jpg");

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...