How to block popup/zoom for some images

Having trouble installing Oxygen XML WebHelp? Got a bug to report? Post it all here.
IanMayo
Posts: 8
Joined: Thu Jun 08, 2023 6:46 pm

How to block popup/zoom for some images

Post by IanMayo »

I'm generating WebHelp from DITA content using OxygenXML.

When images are clicked on, they open in a `LightBox` effect.

While the generated HTML adds these image class entries:

Code: Select all

- topic/image image
When I inspect the source in the browser I see it also has a "zoom" element:

Code: Select all

- topic/image image zoom
Can I prevent this behaviour for some images? Is there a css class I can add so that they remain "dumb"?
ionela
Posts: 405
Joined: Mon Dec 05, 2011 6:08 pm

Re: How to block popup/zoom for some images

Post by ionela »

Hello,

Thank you for your feedback.

The feature is currently active for the responsive images that are displayed in the WebHelp output with a smaller dimension than their original size. When such images are clicked, an enlarged version is displayed.
Unfortunately, in the current WebHelp implementation we do not have the possibility to deactivate this feature only for some specific images. I have added an improvement request to our issue tracking tool to be further analyzed by our development team.
The only possibility is to disable the entire feature by setting this parameter from the transformation scenario "webhelp.show.full.size.image" to "no".

Let us know if you need further assistance.

Regards,
Ionela
Ionela Istodor
oXygen XML Editor and Author Support
IanMayo
Posts: 8
Joined: Thu Jun 08, 2023 6:46 pm

Re: How to block popup/zoom for some images

Post by IanMayo »

> "webhelp.show.full.size.image" to "no"

Aah, that will do the job perfectly, thanks for your support ionela.

Cheers,
Ian
Post Reply