Discussions
Image Aspect Ratio for Advanced PDF Form?
Good afternoon,
I've got images appearing on line items on an Advanced PDF Form, but I can't get the image aspect ratio to remain the same.
Sizing only Image height or width leaves the other at 100%, and sizing both overrides the aspect ratio.
Sizing the table row and/or column height or width, or inserting a div with sizing specified, has no effect on the image size.
I also tried max-height and max-width, which work in normal HTML, because maximum is what I want to achieve, but that had no effect.
The code is currently:
<td colspan="4" line-height="150%">
<#if item.custcol_item_image_url?starts_with("http")>