Page 1 of 1

Oxygen 21.1 automatically resizing images?

Posted: Wed Jul 10, 2019 3:59 am
by mdslup
I am using Oxygen 21.1, build 2019061404, webhelp responsive.

One of my topics shows a picture of our home screen...this is purposefully a very large picture, 3000px x 1400px. When I generate my output, this image is automatically resized to 938x448:

<img class="image zoom" id="untitled9__image_xrm_lw3_2db" src="Images/HomeOverview.jpg" height="448" width="938">

Is there a way to prevent this from happening, or at least change by how much the image is resized?

Thanks.

Re: Oxygen 21.1 automatically resizing images?

Posted: Wed Jul 10, 2019 5:32 pm
by mihai
Hello,

If you do not set the the width and height attributes in the dita file the output will be generated without these attributes. For example:

Source:

Code: Select all

<image href="Images/HomeOverview.jpg" id="image_xrm_lw3_2db"/>
Output:

Code: Select all

<img class="image zoom" id="untitled9__image_xrm_lw3_2db" src="Images/HomeOverview.jpg"/>

Kind reagards,
Mihai

Re: Oxygen 21.1 automatically resizing images?

Posted: Wed Jul 10, 2019 11:19 pm
by mdslup
I apologize - I just realized that I set a scale attribute on this image! That explains it!