Hello! In and advanced PDF/HTML template for a Sal...
# advancedpdf
k
Hello! In and advanced PDF/HTML template for a Sales Order Printout, I am trying to include
<img src="[url location for the image]">
with an external url. When I use the "PREVIEW" option in the NetSuite UI --> My image appears But when I save the template, navigate to my sales order, and click "PRINT", the image does not appear 🚫 I am able to display an image from the Netsuite File Cabinet, but this is not preferred. We want to host all of our company static assets in ONE location (the external data storage location) Any ideas?
a
Sometimes for me I need the
<img>
tag like you're doing, other times I simply output the field and don't need the tag at all - try just outputting it without the tag maybe and see what happens?
k
Thanks @al3xicon. In this case, there is no field to reference in the template. It's just a url string.
a
aha - well that is definitely stranger then
k
Thanks for trying!
a
does it work with a random external URL?
k
trying now!
Ah. good call. It DOES work with a random external image URL.
That helped me narrow it down. I think it may have been the image I was pointing to was .svg. I tried with .png and it worked!
🙌🏼 1
Thank you for troubleshooting, @al3xicon
a
nice!