Making pictures in HTML clickable to open bigger pictures
Post here questions and problems related to editing and publishing DITA content.
Making pictures in HTML clickable to open bigger pictures
Let's say I want all the pictures in my manual to be clickable links - clicking the link opens up a larger version of the picture.
I know how to do this - I save 2 versions of the picture, show the small version in the topic, and make that small picture a link whose href is the bigger picture. Easy.
I'm just wondering if Oxygen has, or can have, some kind of native built-in ability to do this, so I don't have to do it for every single image.
I know how to do this - I save 2 versions of the picture, show the small version in the topic, and make that small picture a link whose href is the bigger picture. Easy.
I'm just wondering if Oxygen has, or can have, some kind of native built-in ability to do this, so I don't have to do it for every single image.
Re: Making pictures in HTML clickable to open bigger pictures
Hi,
Could you please specify what transformation scenario do you use in oXygen XML to obtain the output? Do you use the DITA Map WebHelp Responsive transformation scenario?
If yes, for the WebHelp Responsive output improvements were made to image rendering in the output of WebHelp Responsive layouts. The width of images in topic pages automatically adapt to the size of the screen. Also, when you click these images (responsive images) they are shown to the entire browser width.
For example, you can test in oXygen XML v21.1 on our sample flowers.ditamap and the DITA Map WebHelp Responsive scenario to check this behavior.
Regards,
Ionela
Could you please specify what transformation scenario do you use in oXygen XML to obtain the output? Do you use the DITA Map WebHelp Responsive transformation scenario?
If yes, for the WebHelp Responsive output improvements were made to image rendering in the output of WebHelp Responsive layouts. The width of images in topic pages automatically adapt to the size of the screen. Also, when you click these images (responsive images) they are shown to the entire browser width.
For example, you can test in oXygen XML v21.1 on our sample flowers.ditamap and the DITA Map WebHelp Responsive scenario to check this behavior.
Regards,
Ionela
Ionela Istodor
oXygen XML Editor and Author Support
oXygen XML Editor and Author Support
Re: Making pictures in HTML clickable to open bigger pictures
Hi lhsihan,
No, this is only available in our own transformation scenario (WebHelp Responsive), as the functionality is added by our proprietary WebHelp plugin.
The HTML5 transformation comes as-is from the DITA Open Toolkit.
You could probably make this possible also for the DITA-OT scenarios, through a custom HTML plugin for DITA-OT.
More information on using HTML plugins for DITA OT available even in the DITA-OT user guide.
Regards,
Costin
Costin Sandoi
oXygen XML Editor and Author Support
oXygen XML Editor and Author Support
Return to “DITA (Editing and Publishing DITA Content)”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service