Discussions
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Add Image from custom Image field on Proposal to Advanced PDF/HTML template
I have created a custom transaction field where type=image. We upload images of various sizes and types. I am trying to add the image to and Advanced template and have tried: <#if record.custbody_proposal_drawing?length != 0>${record.custbody_proposal_drawing}</if>, ${record.custbody_proposal_drawing}, <img src=${record.custbody_proposal_drawing}/>, and <img src="https://system.na1.netsuite.com/core/media/media.nl?id=/${record.custbody_proposal_drawing}" />. I added the following to the CSS to account for various image size:
table.image td {
vertical-align: text-top;
max-width: 100%;
height: auto;
}
Any ideas how I can get this image field to pull into the template and control the sizing via css?