<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Well, I guess the current use case is fairly simple. Suppose we use a marker in the text: Header/Footer $1. This marker has as content the name of the image, let's say Pict0001. The Running H/F will display the text (Pict0001). So what we need is an extend script that replaces the H/F text with the actual image: Pict0001.jpg.<div><br></div><div>As I'm still not able to write scripts - too busy with other things I guess - can someone advise me on such a script, would it be very difficult? In the workflow it should be automatically triggered once the XML is opened in FM (10), so that the use experiences it as 'real' H/F. We'll need a manual 'reload' action of course in case of repagination and content change. For ease of use we can put the complete path of the image in the marker of course, or use a relative path.<br><div apple-content-edited="true">
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br class="Apple-interchange-newline"><br></div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Vriendelijke groet / Kind regards,<br> <br>Wim Hooghwinkel<br></div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br></div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br></div>
</div>
<br><div><div>Op 18 okt. 2013, om 19:13 heeft David Artman <<a href="mailto:david@davidartman.com">david@davidartman.com</a>> het volgende geschreven:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div><span style="font-family: Verdana; font-size: 10pt; "><div>Can you provide more details or an actual use case?</div><div><br></div><div>We toggle between B&W and color product logos in H/Fs using conditions on the anchor frames the images. But that's book-wide, not 'reactive' or variable based on chapter-specific content (i.e., paratext of a paratag).</div><div><br></div>
<blockquote id="replyBlockquote" webmail="1" style="border-left-width: 2px; border-left-style: solid; border-left-color: blue; margin-left: 8px; padding-left: 8px; font-size: 10pt; font-family: verdana; position: static; z-index: auto; ">
<div id="wmQuoteWrapper">
-------- Original Message --------<br>
Subject: Insert image as H/F variable<br>
From: Wim Hooghwinkel - idtp <<a href="mailto:wim@idtp.eu">wim@idtp.eu</a>><br>
Date: Fri, October 18, 2013 4:29 am<br>
To: "<a href="mailto:framers@lists.frameusers.com">framers@lists.frameusers.com</a>" <<a href="mailto:framers@lists.frameusers.com">framers@lists.frameusers.com</a>><br>
<br>
Hi,<div><br></div><div>one of my clients wants to use images as (in) H/F variables.  This can not be done using default FM functions, as a variable can not contain an image.</div><div><br></div><div>Has anyone handled this kind of formatting and can give me some suggestions? Or may be someone has a script available to replace H/F with an image - I guess an image that should be taken from the content, just like a H/F takes the heading text from the content.</div><div><br></div><div>Note: this is structured FM (XML, not DITA) and currently moving tom FM7 to FM10/11.</div><div><br></div><div>thanks,</div><div><div apple-content-edited="true"> <div style="font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br class="Apple-interchange-newline"><br></div><div style="font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Vriendelijke groet / Kind regards,<br> <br>Wim Hooghwinkel<br></div></div></div></div></blockquote></span></div></blockquote></div><br></div></body></html>