images in support cases get dropped and the img sr...
# ask-stanley-ai
e
images in support cases get dropped and the img src is replaced with cid: - any way to preserve these images?
c
AI generated answer (using internal Slack threads):
Based on the conversations, it seems that images in support cases get dropped and the
img src
is replaced with
cid:
because the images are not properly referenced or embedded in the HTML. To preserve these images, you can use the
filecabinet
FreeMarker directive to reference the image from the NetSuite file cabinet. Here is an example of how to use it:
Copy code
<@filecabinet nstype="image" src="https://<accountID>.<http://app.netsuite.com/core/media/media.nl?id=21&c=4130331&h=fb3b8b4ac4f67b2c369b|app.netsuite.com/core/media/media.nl?id=21&c=4130331&h=fb3b8b4ac4f67b2c369b>"/>
In this example, replace
<accountID>
with your NetSuite account ID and replace the URL after
src=
with the URL of the image in the file cabinet. Also, ensure that the image is marked as "Available without Login" in the file cabinet. ****** Disclaimer: This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes. ******
Slack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.773937881
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.768944383
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.766494691
Please provide your feedback on this answer.