- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
02-04-2022 12:48 AM
Hello,
I would like to create an HTML template inside XSOAR (using a list) and adding a html image to it. I would like to know, if there is any local resource in where i can save the image and then import it in XSOAR, or it has to be done in a public url.
For the other side, I would also like to know if it is possible to render an HTML inside a layout.
Kind regards,
Sergio
02-04-2022 09:37 AM
02-07-2022 03:35 AM
OH thanks, didn't know that, for the other side, if i want to include an Image in the HTML can I stored in some XSOAR internal folder and then call with a relative path, or shall I upload it to a public web and load the image based on this public url?
02-07-2022 09:07 AM
02-07-2022 09:22 AM
sgonzalez.
You can also add images to HTML via their base64. I have worked with a customer that uses this and it works well though he HTML can get pretty long. Here is a resource for the HTML base64 image rendering: https://stackoverflow.com/questions/8499633/how-to-display-base64-images-in-html
02-08-2022 12:58 AM
Oh that is great, i didn't not though about that. I will try and see if can make it work!
02-08-2022 01:30 AM
I have made it, but the layout seems to not being rendering it:
04-10-2024 10:29 AM
HI in my case I did the following and managed to display the image:
.
Works quite well, the only drawback is that when you "Reply" to the mail, the image (in the reply) is not displayed correctly.
If anyone knows why, I would appreciate it if you could let me know 😊
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!