
Hi Ed, The "Insert a DITA Content Key Reference" action is used to insert a content key reference (the @conkeyref attribute). What you actually need is to insert a simple <image> with a @keyref attribute. Basically if in the DITA Map you add a reference to an image:
<topicref href="images/Gerbera.jpg" format="jpg" keys="gerbera"/>
Then in a DITA topic you can use the "Key Reference" action (available on the toolbar on a link drop down button) to insert an image with a reference to that key and it worked for me. I chose the referenced key in the table, I chose the name of the element which needs to be inserted (<image> in this case) and then pressed the "Insert and close" button. Please see the attached screenshot. Regards, Radu Radu Coravu <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com On 5/13/2014 11:11 PM, Marsh, Ed wrote:
Hi there,
I’m fairly new to oXygen, using v15.2.
I’m having an issue trying to insert images that are referenced by keyref in a ditamap. If I insert the keyref in code view, the image appears fine, i.e. <image keyref=”image-ref-keyname”>
However, if I try to insert using the Insert Content Key Reference dialog, another dialog appears saying “Please select an element ID by pressing the Subtopic button”. When I click the Subtopic button, no IDs appear.
Is this expected behavior, or am I missing something?
Thanks,
Ed.
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user