<?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 Re: Is there a way to use binary images in CARD BROWSER visual? in Custom Visuals Development Discussion</title>
    <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Is-there-a-way-to-use-binary-images-in-CARD-BROWSER-visual/m-p/749411#M2380</link>
    <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;,&lt;/P&gt;&lt;P&gt;Yes - it works fine. I did a quick mockup using a data URL and it loads, e.g.:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;I checked the source code and it just uses a plain image URL in HTML/CSS so as long as the data URL is valid, you'll be fine.&lt;/P&gt;&lt;P&gt;The part the visual does not like in your expression is this:&lt;/P&gt;&lt;PRE&gt;&lt;EM&gt;, "&lt;/EM&gt;&lt;/PRE&gt;&lt;P&gt;You are adding a space character after the comma and this doesn't generate a valid URL. If you remove it, it will be okay. For completeness, here's what worked for me (taking yours as an example):&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DAX&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;ImageURL = "data&amp;amp;colon;image/png;base64," &amp;amp; [BinaryToText]&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;M (Power query) Custom Column&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;"data&amp;amp;colon;image/png;base64," &amp;amp; [BinaryToText]&lt;/PRE&gt;&lt;P&gt;Hopefully this is all you need :)&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;</description>
    <pubDate>Thu, 25 Jul 2019 20:01:43 GMT</pubDate>
    <dc:creator>dm-p</dc:creator>
    <dc:date>2019-07-25T20:01:43Z</dc:date>
    <item>
      <title>Is there a way to use binary images in CARD BROWSER visual?</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Is-there-a-way-to-use-binary-images-in-CARD-BROWSER-visual/m-p/748954#M2379</link>
      <description>&lt;P&gt;I have got to use binary in some visuals with the process explained in this blog:&lt;BR /&gt;&lt;A href="https://www.blue-granite.com/blog/simple-steps-to-embed-images-in-power-bi" target="_blank"&gt;https://www.blue-granite.com/blog/simple-steps-to-embed-images-in-power-bi&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;However,&amp;nbsp;I have failed to use a binary image in the card browser visual. The image is not shown.&lt;BR /&gt;Does the card browser only admits hyperlinks to online images?&lt;BR /&gt;Is there a workaround so card browser admits the format: &lt;EM&gt;"data&amp;amp;colon;image/png;base64, " &amp;amp; [BinaryToText] &lt;/EM&gt;&lt;EM&gt;&amp;nbsp;that other visuals admit&lt;/EM&gt;?&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;Thanks&lt;BR /&gt;Nacho&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jul 2019 11:22:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Is-there-a-way-to-use-binary-images-in-CARD-BROWSER-visual/m-p/748954#M2379</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-07-25T11:22:59Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to use binary images in CARD BROWSER visual?</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Is-there-a-way-to-use-binary-images-in-CARD-BROWSER-visual/m-p/749411#M2380</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;,&lt;/P&gt;&lt;P&gt;Yes - it works fine. I did a quick mockup using a data URL and it loads, e.g.:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;I checked the source code and it just uses a plain image URL in HTML/CSS so as long as the data URL is valid, you'll be fine.&lt;/P&gt;&lt;P&gt;The part the visual does not like in your expression is this:&lt;/P&gt;&lt;PRE&gt;&lt;EM&gt;, "&lt;/EM&gt;&lt;/PRE&gt;&lt;P&gt;You are adding a space character after the comma and this doesn't generate a valid URL. If you remove it, it will be okay. For completeness, here's what worked for me (taking yours as an example):&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DAX&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;ImageURL = "data&amp;amp;colon;image/png;base64," &amp;amp; [BinaryToText]&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;M (Power query) Custom Column&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;"data&amp;amp;colon;image/png;base64," &amp;amp; [BinaryToText]&lt;/PRE&gt;&lt;P&gt;Hopefully this is all you need :)&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jul 2019 20:01:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Is-there-a-way-to-use-binary-images-in-CARD-BROWSER-visual/m-p/749411#M2380</guid>
      <dc:creator>dm-p</dc:creator>
      <dc:date>2019-07-25T20:01:43Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to use binary images in CARD BROWSER visual?</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Is-there-a-way-to-use-binary-images-in-CARD-BROWSER-visual/m-p/751202#M2383</link>
      <description>&lt;P&gt;Yes, that was the problem. It works now. Thanks for the help!&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;Nacho&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jul 2019 08:50:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Is-there-a-way-to-use-binary-images-in-CARD-BROWSER-visual/m-p/751202#M2383</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-07-29T08:50:23Z</dc:date>
    </item>
  </channel>
</rss>

