Displaying images

Oxygen general issues.
neon096
Posts: 45
Joined: Wed May 23, 2012 11:20 am

Displaying images

Post 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>
Radu
Posts: 9055
Joined: Fri Jul 09, 2004 5:18 pm

Re: Displaying images

Post by Radu »

Hi Neal,

Sure, just add another selector in the CSS like:

Code: Select all

graphic{
content: attr(filename, url);
}
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply