On Friday 06 October 2006 19:45, Rodney Kinney wrote:
> Is the motivation to be able to dynamically change the image? I'm looking
> into a more general alternative, which is to do property substitution on
> image names.
>
> rk
Dynamic substitution of images can be done already. However, as fas as I can
tell, all images must be accessible with a full http:// style URL.
How do *I* do full dynamic images you ask?
Define a piece with the following...
Text Field 1 (The image URL)
text: http://my.domain.com/path/to/default/image.gif
menu command: Edit Image
font size: 1
property name: imageURL
Text Field 2 (The HTML container)
text: <html><img src="$imageURL$">
menu command:
Now when you choose the edit image url, you can simply put in the new URL and
the piece will load the new graphic. Should work with programatic change of
the $imageURL$ trait as well. All that is missing is a way to reference the
local images stored in the module.
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/vassalengine/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/vassalengine/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/