2024-04-26 23:00 BST

View Revisions: Issue #2681

Summary 0002681: PNGs displayed with wrong aspect ratio
Revision 2019-07-09 17:21 by Dave Higton
Description Email flyers from 7dayshop have PNG images that display at about half width - all the image is shown but the aspect ratio is very wrong. The style attributes limit its maximum width, but I think NS must be forgetting to constrain the height so as to maintain the proportion.

I can't simply post the HTML content of the flyer, or the link, without a lot of work, because they link to my 7DayShop account, so I'll have to hope that the "style" excerpt below is sufficient to trace the problem.
Revision 2019-07-31 07:04 by Michael Drake
Description Email flyers from 7dayshop have PNG images that display at about half width - all the image is shown but the aspect ratio is very wrong. The style attributes limit its maximum width, but I think NS must be forgetting to constrain the height so as to maintain the proportion.

I can't simply post the HTML content of the flyer, or the link, without a lot of work, because they link to my 7DayShop account, so I'll have to hope that the "style" excerpt below is sufficient to trace the problem.
Revision 2019-07-09 17:21 by Dave Higton
Additional Information style="outline: none; text-decoration: none; -ms-interpolation-mode: bicubic; clear: both; height: auto; float: none; border: none; width: 100%; max-width: 300px; display: block;"

Doubling the max-width value allows the image to be displayed correctly.
Revision 2019-07-31 07:04 by Michael Drake
Additional Information style="outline: none; text-decoration: none; -ms-interpolation-mode: bicubic; clear: both; height: auto; float: none; border: none; width: 100%; max-width: 300px; display: block;"

Doubling the max-width value allows the image to be displayed correctly.