Page 1 of 1

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

Posted: Thu Sep 06, 2018 5:15 am
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

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

Posted: Thu Sep 06, 2018 8:32 am
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

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

Posted: Thu Sep 06, 2018 10:53 am
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