Displaying an image from a subform on a record template.
I'm trying to display images from a subform in a record template. It is working however I would like the images to shrink to fit on a the A4 page which I've set the record template to show. I'm pretty sure I need to edit the HTML on the record template but can't seem to affect the images. This is what i've tried:
<div style=''>
<div style='object-fit: contain; width: 0%; display: none'>
<div style=''> ${Label element} </div>
</div>
<div style='object-fit: contain; width: 10%'>
<div style=''>${Value element} </div>
</div>
</div>
The problem I have is the image is taken with a mobile phone and is quite large so only part of the image is displayed on the report.