Zoom of images not working in 26.1
Having trouble installing Oxygen XML WebHelp? Got a bug to report? Post it all here.
Zoom of images not working in 26.1
Zoom of images (for me at least) is not working with version 26.1. I did a test with 25.1 and it is working there with the same content. I tracked it down to the following file:
oxygen-webhelp\app\topic.js
did a compare and there are quite a few differences. I'm not a js person so determining what the changes are, is beyond me.
When I inspect the image in both versions,
the 25.1 version, the image has 3 events
the 26.1 version the image has 2 events, it is missing the common.js event
the img tag in both versions
<img class="- topic/image image zoom" src="../graphics/image.svg" width="240">
My temporary fix will be to overwrite the 26.1 version of the topic.js with the 25.1 version in my workflow.
kr
Marijan (Mario) Madunic
oxygen-webhelp\app\topic.js
did a compare and there are quite a few differences. I'm not a js person so determining what the changes are, is beyond me.
When I inspect the image in both versions,
the 25.1 version, the image has 3 events
the 26.1 version the image has 2 events, it is missing the common.js event
the img tag in both versions
<img class="- topic/image image zoom" src="../graphics/image.svg" width="240">
My temporary fix will be to overwrite the 26.1 version of the topic.js with the 25.1 version in my workflow.
kr
Marijan (Mario) Madunic
-
- Posts: 638
- Joined: Wed Oct 16, 2019 3:47 pm
Re: Zoom of images not working in 26.1
Post by julien_lacour »
Hello Mario,
Is it possible for you to send us a small sample (with both the topic and the image.svg file) at support@oxygenxml.com for analysis?
If your DITA documents contain some sensitive content, you can randomize it by using Oxygen's Help > Support Tools > Randomize XML text content option.
Note: Create a copy of your DITA structure before doing this operation as the randomizing cannot be reverted.
Regards,
Julien
Is it possible for you to send us a small sample (with both the topic and the image.svg file) at support@oxygenxml.com for analysis?
If your DITA documents contain some sensitive content, you can randomize it by using Oxygen's Help > Support Tools > Randomize XML text content option.
Note: Create a copy of your DITA structure before doing this operation as the randomizing cannot be reverted.
Regards,
Julien
Re: Zoom of images not working in 26.1
Will send you something today. Thanks for the quick reply.
Mario
Mario
julien_lacour wrote: ↑Tue Feb 11, 2025 12:42 pm Hello Mario,
Is it possible for you to send us a small sample (with both the topic and the image.svg file) at support@oxygenxml.com for analysis?
If your DITA documents contain some sensitive content, you can randomize it by using Oxygen's Help > Support Tools > Randomize XML text content option.
Note: Create a copy of your DITA structure before doing this operation as the randomizing cannot be reverted.
Regards,
Julien
Re: Zoom of images not working in 26.1
- sampleTopic.zip
- (1013 Bytes) Downloaded 17 times
-
- Posts: 638
- Joined: Wed Oct 16, 2019 3:47 pm
Re: Zoom of images not working in 26.1
Post by julien_lacour »
Hello Mario,
I tested using <oXygen/> XML Editor 26.1, build 2024091606 and the zoom is correctly working on the sample you sent me:
Are you using a custom plugin besides WebHelp Responsive? Or any publishing template containing custom XSLT/JS files?
Could you try to re-run the scenario with clean.output parameter enabled? Is the problem still present?
Regards,
Julien
I tested using <oXygen/> XML Editor 26.1, build 2024091606 and the zoom is correctly working on the sample you sent me:
- scroll.gif (120.13 KiB) Viewed 453 times
Could you try to re-run the scenario with clean.output parameter enabled? Is the problem still present?
Regards,
Julien
Re: Zoom of images not working in 26.1
The publishing is done inside of RWS Tridocs and contains quite a bit of customization. Extension plugins and extension point XSLTs. I believe there are no custom JS. I've extended the customers Oxygen Editor publishing to work in Tridocs. The plugins and xslts all only modify maps and topics before the Webhelp Responsive plugin is run in the DITA-OT publishing workflow.
Will give clean.output a try and get back to you with the results.
Mario
Will give clean.output a try and get back to you with the results.
Mario
julien_lacour wrote: ↑Fri Feb 14, 2025 12:47 pm Hello Mario,
I tested using <oXygen/> XML Editor 26.1, build 2024091606 and the zoom is correctly working on the sample you sent me:
scroll.gif
Are you using a custom plugin besides WebHelp Responsive? Or any publishing template containing custom XSLT/JS files?
Could you try to re-run the scenario with clean.output parameter enabled? Is the problem still present?
Regards,
Julien
-
- Posts: 638
- Joined: Wed Oct 16, 2019 3:47 pm
Re: Zoom of images not working in 26.1
Post by julien_lacour »
Hello,
Could you try to transform your files using the default Oxygen Publishing Engine available on our website. Can you reproduce the problem?
Regards,
Julien
Could you try to transform your files using the default Oxygen Publishing Engine available on our website. Can you reproduce the problem?
Regards,
Julien
-
- Posts: 638
- Joined: Wed Oct 16, 2019 3:47 pm
Re: Zoom of images not working in 26.1
Post by julien_lacour »
Is it also possible to link the generated HTML topic (containing the image that can't be zoomed in)?
Regards,
Julien
Regards,
Julien
Re: Zoom of images not working in 26.1
Can't give you that.
I decided just to overwrite the new topic.js with the older one in the publishing workflow, as that one works.
Mario
I decided just to overwrite the new topic.js with the older one in the publishing workflow, as that one works.
Mario
julien_lacour wrote: ↑Mon Feb 24, 2025 2:46 pm Is it also possible to link the generated HTML topic (containing the image that can't be zoomed in)?
Regards,
Julien
-
- Posts: 638
- Joined: Wed Oct 16, 2019 3:47 pm
Re: Zoom of images not working in 26.1
Post by julien_lacour »
Hello,
Overriding the topic.js isn't recommended as you can get other unexpected behaviors, besides that, if you upgrade Oxygen in the future you my get conflicts between different versions of topic.js.
If you can't give us the partial output containing this image, could you at least try with a default Oxygen Publishing Engine as mentioned in my previous post? Also, as mentioned in my firsts posts, you can randomize the content and just send the generated output for this randomized small ditamap.
Regards,
Julien
Overriding the topic.js isn't recommended as you can get other unexpected behaviors, besides that, if you upgrade Oxygen in the future you my get conflicts between different versions of topic.js.
If you can't give us the partial output containing this image, could you at least try with a default Oxygen Publishing Engine as mentioned in my previous post? Also, as mentioned in my firsts posts, you can randomize the content and just send the generated output for this randomized small ditamap.
Regards,
Julien
Re: Zoom of images not working in 26.1
When we upgrade, we will have more time to test and fix any issues. Currently I'm moving on. Also found one more issue and will post a new thread about it.
julien_lacour wrote: ↑Mon Mar 03, 2025 2:35 pm Hello,
Overriding the topic.js isn't recommended as you can get other unexpected behaviors, besides that, if you upgrade Oxygen in the future you my get conflicts between different versions of topic.js.
If you can't give us the partial output containing this image, could you at least try with a default Oxygen Publishing Engine as mentioned in my previous post? Also, as mentioned in my firsts posts, you can randomize the content and just send the generated output for this randomized small ditamap.
Regards,
Julien
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