ProspectComm Posted October 16, 2009 Share Posted October 16, 2009 Trying to put an inline graphic into my formatted text resources but it only returns the rule name not the graphic. I tried to follow a previous post regarding this issue but with no luck. What's the best way to put a graphic in so it moves with the text. Link to comment Share on other sites More sharing options...
rpaterick Posted October 28, 2009 Share Posted October 28, 2009 I wonder if there is a rule for a graphic that could move the X&Y coordinates of the graphic based on the number of characters a text field has? How is the text moving? Data input or is it a text resource based on a what? Link to comment Share on other sites More sharing options...
Dan Korn Posted October 28, 2009 Share Posted October 28, 2009 You need to create a rule with the name of the variable you're placing into the Text Editor for the Formatted Text Resource (or just for a text frame's contents), and have it return a <graphic> tag. Please see the Cell Phone Tutorial job for an example of this. Link to comment Share on other sites More sharing options...
ProspectComm Posted October 28, 2009 Author Share Posted October 28, 2009 I did figure out how to do it as a text resource. Coded it like this: return '<graphic file="/Users/prepress2/Desktop/799-6687/signature.jpg">' Link to comment Share on other sites More sharing options...
Dan Korn Posted October 28, 2009 Share Posted October 28, 2009 I did figure out how to do it as a text resource. Coded it like this: return '<graphic file="/Users/prepress2/Desktop/799-6687/signature.jpg">' I think you mean a text rule, not a text resource. Note that you can return the tagging for an actual Graphic Resource from your text rule using the content property, like so: return Resource("signature.jpg").content; Link to comment Share on other sites More sharing options...
ProspectComm Posted October 28, 2009 Author Share Posted October 28, 2009 Dan, you are correct. A rule not a resource. Thanks Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.