Page 1 of 1

Displaying images

Posted: Tue Aug 28, 2012 2:52 pm
by neon096
Is there a way to display an image in the Author applet using a different tags. I've seen the topic http://oxygenxml.com/doc/ug-editor/inde ... ering.html which describes the <image/> tag. However we have a different datamodel which cannot be changed without going through a lot of procedures. Is it possible to get the Applet to render an image using a different model.

Code: Select all


<graphic id="x" filename="filename.png">
<caption>This is an image of x.</caption>
</graphic>

Re: Displaying images

Posted: Tue Aug 28, 2012 3:09 pm
by Radu
Hi Neal,

Sure, just add another selector in the CSS like:

Code: Select all

graphic{
content: attr(filename, url);
}
Regards,
Radu