Oxygen 21.1 automatically resizing images?

mdslup
Posts: 110
Joined: Tue Mar 06, 2018 1:34 am

Oxygen 21.1 automatically resizing images?

Post by mdslup » Wed Jul 10, 2019 3:59 am

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.

mihai
Site Admin
Posts: 22
Joined: Thu Dec 19, 2002 4:17 pm

Re: Oxygen 21.1 automatically resizing images?

Post by mihai » Wed Jul 10, 2019 5:32 pm

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

mdslup
Posts: 110
Joined: Tue Mar 06, 2018 1:34 am

Re: Oxygen 21.1 automatically resizing images?

Post by mdslup » Wed Jul 10, 2019 11:19 pm

I apologize - I just realized that I set a scale attribute on this image! That explains it!

Post Reply