How to display a preview of an image when selecting a key

Post here questions and problems related to editing and publishing DITA content.
taruga
Posts: 5
Joined: Thu Oct 05, 2017 5:20 am

How to display a preview of an image when selecting a key

Post by taruga »

Hi,

For example, in the Reuse Content window, you can display a preview of the image defining conkeyref.
However, if you specify the image directly with the keydef, the image preview will not be displayed in the Reuse Content window.

In oXygen, is there a way to display a preview of the image in the UI that selects the key?
It is desirable to be able to display it also when directly specifying images with keydef.

Code: Select all


<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE bookmap PUBLIC "-//OASIS//DTD DITA BookMap//EN" "bookmap.dtd">
<bookmap>
<booktitle>
<mainbooktitle>Autoring Test</mainbooktitle>
</booktitle>
<frontmatter>
<keydef keys="KEYREF_IMG" href="image.ai" format="ai" type="image"/>
<topicref keys="CONKEYREF_IMG" href="cImageDefinition-ja.dita"/>
</frontmatter>
<chapter navtitle="Image Authoring Test">
<topicref href="cImageAuthoringTest.dita" format="dita"/>
</chapter>
</bookmap>
Best regards,
Aruga
Radu
Posts: 9445
Joined: Fri Jul 09, 2004 5:18 pm

Re: How to display a preview of an image when selecting a key

Post by Radu »

Hi Aruga,

We plan to release Oxygen 21 next year probably in February.
In Oxygen 21 the DITA "Insert Image" dialog will show a preview of the image. The keys chooser dialog will also show a preview of the image when hovering over the keys pointing to images. And also the "DITA Reusable Components" view will show image previews when hovering over keys pointing to images.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
taruga
Posts: 5
Joined: Thu Oct 05, 2017 5:20 am

Re: How to display a preview of an image when selecting a key

Post by taruga »

Hi Radu,

Thank you for your quick reply.

Thank you for the information on the release plan.
For images, I think that adding keys is easy.
I am looking forward to it.

Thank you,
Aruga
Post Reply