How to insert an image in a letter template

Support, Tips and Tricks for Proof Group's fmSpark "merge anything" utility for FileMaker Pro.
Posts: 42
Joined: Wed Jul 08, 2009 2:18 am
PostPosted: Wed Nov 25, 2009 7:33 am
Hi Guys

I'm having trouble following the instructions for inserting an image into a letter template. The FMSpark manual says that you can "click in the appropriate image field" from the letter template layout. However, only the top left image box seems to make any difference to the preview (ie images put in any of the other boxes do not appear in the preview). Also, how does this grid of images correspond to the letter layout? I'm trying to put an image centre top above all the letter body text (I can achieve this by putting the image in the top left image grid - the one with the word Header beneath it) but I cannot add an image part way through the text on the left hand side.

Cheers for your help : )
SeedCode Staff
SeedCode Staff
Posts: 2764
Joined: Thu Nov 20, 2003 11:01 am
PostPosted: Thu Nov 26, 2009 8:28 am
Hi Jonathan,

The image grid represents the 12 possible images fmSpark can associate with a letter. The "Letter" layout that ships with fmSpark only makes use of one of these (in the header). To use more you'll need to edit the "Letter" layout (or make new layouts) and tell the layout where to use additional images: you'll do this by placing instances of the repeating field "_MESSAGE::ImageArray" on your layout.

Each repetition of this field corresponds to one of the possible images in the grid.

Getting the image on the layout isn't really the hard part: it sounds like you want the text to wrap around the image. You can either do this by adding lots of tabs and spacing to the text block already there (which seems tedious), or by creating additional regions of text and placing them on the layout: possibly one above, one beside, and one below your new image.

You add new text areas to the layout in much the same as you add new images: each text area is a repetition of the field "_MESSAGE::TextArray".

Finally, you'll want to visit the Layout record (Settings / Layout) for your layout to teach it that there are new text and image regions and to name them so that they show up on the "compose" letter screen as available regions / images.

Hope that helps.
John Sindelar
SeedCode
Posts: 42
Joined: Wed Jul 08, 2009 2:18 am
PostPosted: Thu Nov 26, 2009 9:33 am
Aha!

Excellent explanation - many thanks for your response.

Return to fmSpark

Who is online

Users browsing this forum: No registered users and 3 guests

cron
(855) SEEDCODE
[email protected]
Follow us: