<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic XSOAR HTML images in Cortex XSOAR Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/xsoar-html-images/m-p/463382#M535</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;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.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For the other side, I would also like to know if it is possible to render an HTML inside a layout.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Sergio&lt;/P&gt;</description>
    <pubDate>Fri, 04 Feb 2022 08:48:46 GMT</pubDate>
    <dc:creator>sgonzalez</dc:creator>
    <dc:date>2022-02-04T08:48:46Z</dc:date>
    <item>
      <title>XSOAR HTML images</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/xsoar-html-images/m-p/463382#M535</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;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.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For the other side, I would also like to know if it is possible to render an HTML inside a layout.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Sergio&lt;/P&gt;</description>
      <pubDate>Fri, 04 Feb 2022 08:48:46 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/xsoar-html-images/m-p/463382#M535</guid>
      <dc:creator>sgonzalez</dc:creator>
      <dc:date>2022-02-04T08:48:46Z</dc:date>
    </item>
    <item>
      <title>Re: XSOAR HTML images</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/xsoar-html-images/m-p/463497#M537</link>
      <description>1. If you have saved an html as an html file, you can simply upload it to the Lists page.
2. You can use DisplayHTML or even a field of type HTML in your layout to display this html.</description>
      <pubDate>Fri, 04 Feb 2022 17:37:26 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/xsoar-html-images/m-p/463497#M537</guid>
      <dc:creator>amore</dc:creator>
      <dc:date>2022-02-04T17:37:26Z</dc:date>
    </item>
    <item>
      <title>Re: XSOAR HTML images</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/xsoar-html-images/m-p/463803#M540</link>
      <description>&lt;P&gt;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?&lt;/P&gt;</description>
      <pubDate>Mon, 07 Feb 2022 11:35:36 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/xsoar-html-images/m-p/463803#M540</guid>
      <dc:creator>sgonzalez</dc:creator>
      <dc:date>2022-02-07T11:35:36Z</dc:date>
    </item>
    <item>
      <title>Re: XSOAR HTML images</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/xsoar-html-images/m-p/463892#M541</link>
      <description>Currently, the only capability would be to pull the image from a public url. I would definitely submit a feature request for saving images locally on the XSOAR server as well. You can do so at &lt;A href="https://xsoar.ideas.aha.io/ideas" target="_blank"&gt;https://xsoar.ideas.aha.io/ideas&lt;/A&gt;</description>
      <pubDate>Mon, 07 Feb 2022 17:07:33 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/xsoar-html-images/m-p/463892#M541</guid>
      <dc:creator>amore</dc:creator>
      <dc:date>2022-02-07T17:07:33Z</dc:date>
    </item>
    <item>
      <title>Re: XSOAR HTML images</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/xsoar-html-images/m-p/463901#M542</link>
      <description>&lt;P&gt;sgonzalez.&lt;/P&gt;&lt;P&gt;You can also add images to HTML via their base64.&amp;nbsp; I have worked with a customer that uses this and it works well though he HTML can get pretty long.&amp;nbsp; Here is a resource for the HTML base64 image rendering:&amp;nbsp;&lt;A href="https://stackoverflow.com/questions/8499633/how-to-display-base64-images-in-html" target="_blank"&gt;https://stackoverflow.com/questions/8499633/how-to-display-base64-images-in-html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Feb 2022 17:22:55 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/xsoar-html-images/m-p/463901#M542</guid>
      <dc:creator>jwilkes</dc:creator>
      <dc:date>2022-02-07T17:22:55Z</dc:date>
    </item>
    <item>
      <title>Re: XSOAR HTML images</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/xsoar-html-images/m-p/464089#M545</link>
      <description>&lt;P&gt;Oh that is great, i didn't not though about that. I will try and see if can make it work!&lt;/P&gt;</description>
      <pubDate>Tue, 08 Feb 2022 08:58:52 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/xsoar-html-images/m-p/464089#M545</guid>
      <dc:creator>sgonzalez</dc:creator>
      <dc:date>2022-02-08T08:58:52Z</dc:date>
    </item>
    <item>
      <title>Re: XSOAR HTML images</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/xsoar-html-images/m-p/464099#M546</link>
      <description>&lt;P&gt;I have made it, but the layout seems to not being rendering it:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2022-02-08 at 10.29.31.png" style="width: 999px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/39010i886F88A61AC1A565/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Screenshot 2022-02-08 at 10.29.31.png" alt="Screenshot 2022-02-08 at 10.29.31.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Feb 2022 09:30:31 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/xsoar-html-images/m-p/464099#M546</guid>
      <dc:creator>sgonzalez</dc:creator>
      <dc:date>2022-02-08T09:30:31Z</dc:date>
    </item>
    <item>
      <title>Re: XSOAR HTML images</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/xsoar-html-images/m-p/583259#M3235</link>
      <description>&lt;P&gt;&lt;FONT size="2"&gt;HI in my case I did the following and managed to display the image:&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;&lt;FONT size="4"&gt;&lt;STRONG&gt;&amp;nbsp;in Playground load the image to XSOAR as File&lt;/STRONG&gt;.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;(this will, among other things, give you the entry_id needed for step 2)&lt;/FONT&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="earriagada_1-1712769292582.png" style="width: 400px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/58965i905AE44DF1D92C96/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="earriagada_1-1712769292582.png" alt="earriagada_1-1712769292582.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;&lt;FONT size="4"&gt;&lt;STRONG&gt;Execute the command:&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;FONT color="#FF0000"&gt;!FileToBase64List&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;Here is an Example:&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;!FileToBase64List entryId=&lt;STRONG&gt;${EntryIdOfFileInContextData}&lt;/STRONG&gt; listName="&lt;STRONG&gt;NameOfTheOutputListInXSOAR&lt;/STRONG&gt;"&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;This command encodes in base 64 a file from the entry id, plus optionally generates a list inside XSOAR with the name of your choice.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;The list that this command generates inside XSOAR is important, since it will be the one that you will call inside your HTML template.&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT size="4"&gt;&lt;STRONG&gt;Finally in your html template (another XSOAR list but of HTML type), you will "invoke" the list generated above&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;Here is an example:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="earriagada_0-1712769258509.png" style="width: 400px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/58964i14F8826C66AB246F/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="earriagada_0-1712769258509.png" alt="earriagada_0-1712769258509.png" /&gt;&lt;/span&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;P class="lia-align-right"&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2"&gt;Works quite well, the only drawback is that when you "Reply" to the mail, the image (in the reply) is not displayed correctly.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;If anyone knows why, I would appreciate it if you could let me know&amp;nbsp;&lt;/FONT&gt;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Apr 2024 17:29:10 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/xsoar-html-images/m-p/583259#M3235</guid>
      <dc:creator>earriagada</dc:creator>
      <dc:date>2024-04-10T17:29:10Z</dc:date>
    </item>
  </channel>
</rss>

