Discussions
Join the NetSuite community to innovate, connect, and discover what’s next.
SuiteWorld brings thousands of innovators, builders, and leaders together to learn, connect, and shape what’s next. This October, explore how to build a stronger foundation for growth through inspiring keynotes, major product reveals, hands-on sessions, and unforgettable moments—all in one place for our biggest event of the year. Register now
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?