<?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: Error when adding an image within a HTML &amp;lt;td&amp;gt; tag in Qlik NPrinting</title>
    <link>https://community.qlik.com/t5/Qlik-NPrinting/Error-when-adding-an-image-within-a-HTML-lt-td-gt-tag/m-p/2053607#M38540</link>
    <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/48729"&gt;@Ruggero_Piccoli&lt;/a&gt;&amp;nbsp;Is 100% right here. If this is in email client that is totally different story. &lt;BR /&gt;i was under assumption that this does not even work in web browser html preview. Again - we need all info to see what the scenario actually is as there can be 100s of different answers here &amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 27 Mar 2023 13:34:32 GMT</pubDate>
    <dc:creator>Lech_Miszkiewicz</dc:creator>
    <dc:date>2023-03-27T13:34:32Z</dc:date>
    <item>
      <title>Error when adding an image within a HTML &lt;td&gt; tag</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Error-when-adding-an-image-within-a-HTML-lt-td-gt-tag/m-p/2053316#M38533</link>
      <description>&lt;P&gt;I've got an HTML NPrinting report that uses a HTML table&lt;/P&gt;
&lt;P&gt;Within this table I'm using values from a Qlik table which works fine.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;&amp;lt;tr&amp;gt;
&amp;lt;td class="summary_cells_label" style ="border-left:1px solid #333333;border-right:1px solid #333333"&amp;gt;Standbys&amp;lt;/td&amp;gt;
&amp;lt;td class="summary_cells_totals"style ="border-right:1px solid #333333"&amp;gt;%%Standbys%%&amp;lt;/td&amp;gt;
&amp;lt;/tr&amp;gt;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is working fine. I've now got a small image I wish to add to a third &amp;lt;td&amp;gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;&amp;lt;img src="%%TX279%%" alt="TX279"&amp;gt;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If I place this anywhere else in my HTML page, it works fine, but when it is within the &amp;lt;td&amp;gt; tag it produces a broken link image, and adds the following text above the table&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;YAAACUef2IAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAOwgAADsIBFShKgAAAAChJREFUOE9jkH/A9Z8WeNRgOB41GI5HDYbjUYPheNRgOB41GIq5/gMAb0ZRPpWGNTwAAAAASUVORK5CYII=" alt="TX279""&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Does anyone know what could be causing this?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Mar 2023 04:49:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Error-when-adding-an-image-within-a-HTML-lt-td-gt-tag/m-p/2053316#M38533</guid>
      <dc:creator>MattG</dc:creator>
      <dc:date>2023-03-27T04:49:59Z</dc:date>
    </item>
    <item>
      <title>Re: Error when adding an image within a HTML &lt;td&gt; tag</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Error-when-adding-an-image-within-a-HTML-lt-td-gt-tag/m-p/2053412#M38535</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am using images in tables with NPrinting without any issues. Please provide:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;detailed HTML template code&lt;/LI&gt;
&lt;LI&gt;QlikView/Qlik Sense version&lt;/LI&gt;
&lt;LI&gt;Object which is used as an image details&lt;/LI&gt;
&lt;LI&gt;Screenshots of expanded properties of all objects used in the template&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Alternatively you can build sample app, get a nprinting template going and export them and attach here so we can easily replicate your issue.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BY THE WAY - Which SR of MAy 2022 are you using? and which version of Qlik Sense?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Mar 2023 07:43:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Error-when-adding-an-image-within-a-HTML-lt-td-gt-tag/m-p/2053412#M38535</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2023-03-27T07:43:29Z</dc:date>
    </item>
    <item>
      <title>Re: Error when adding an image within a HTML &lt;td&gt; tag</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Error-when-adding-an-image-within-a-HTML-lt-td-gt-tag/m-p/2053480#M38536</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;It is not a broken link, it is correct. Images are inserted as Base64 Images (refer to&amp;nbsp;&lt;A href="https://www.w3docs.com/snippets/html/how-to-display-base64-images-in-html.html" target="_blank"&gt;https://www.w3docs.com/snippets/html/how-to-display-base64-images-in-html.html&lt;/A&gt;&amp;nbsp;for example) in the generated reports so each report is made with a single file.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The source HRML code is something like this:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ruggero_Piccoli_0-1679908066628.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/103551i053ECD22D37AFE9C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ruggero_Piccoli_0-1679908066628.png" alt="Ruggero_Piccoli_0-1679908066628.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The first versions of HTML report inserted the links to images and kept them as external files. In this way, every single generated report was made of many files and the links could be broken while moving them.&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Ruggero&lt;/P&gt;</description>
      <pubDate>Mon, 27 Mar 2023 09:09:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Error-when-adding-an-image-within-a-HTML-lt-td-gt-tag/m-p/2053480#M38536</guid>
      <dc:creator>Ruggero_Piccoli</dc:creator>
      <dc:date>2023-03-27T09:09:30Z</dc:date>
    </item>
    <item>
      <title>Re: Error when adding an image within a HTML &lt;td&gt; tag</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Error-when-adding-an-image-within-a-HTML-lt-td-gt-tag/m-p/2053526#M38538</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/64701"&gt;@MattG&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/48729"&gt;@Ruggero_Piccoli&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Ruggero is right re base64 images however that does not clarify why it is not working for you.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;so as I said in my previous email - make sure you provide all details on what you do and how you do it so we can replicate steps and your issue and either tell you what you do wrong or what needs to change to get this done right. Cheers&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Mar 2023 10:39:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Error-when-adding-an-image-within-a-HTML-lt-td-gt-tag/m-p/2053526#M38538</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2023-03-27T10:39:04Z</dc:date>
    </item>
    <item>
      <title>Re: Error when adding an image within a HTML &lt;td&gt; tag</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Error-when-adding-an-image-within-a-HTML-lt-td-gt-tag/m-p/2053553#M38539</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;How HTML is rendered depends also on the browser or the email client used to read it. In case of errors or if it is rendered in a different way than the one expected, I suggest testing with different email client.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Ruggero&lt;/P&gt;</description>
      <pubDate>Mon, 27 Mar 2023 12:08:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Error-when-adding-an-image-within-a-HTML-lt-td-gt-tag/m-p/2053553#M38539</guid>
      <dc:creator>Ruggero_Piccoli</dc:creator>
      <dc:date>2023-03-27T12:08:29Z</dc:date>
    </item>
    <item>
      <title>Re: Error when adding an image within a HTML &lt;td&gt; tag</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Error-when-adding-an-image-within-a-HTML-lt-td-gt-tag/m-p/2053607#M38540</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/48729"&gt;@Ruggero_Piccoli&lt;/a&gt;&amp;nbsp;Is 100% right here. If this is in email client that is totally different story. &lt;BR /&gt;i was under assumption that this does not even work in web browser html preview. Again - we need all info to see what the scenario actually is as there can be 100s of different answers here &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Mar 2023 13:34:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Error-when-adding-an-image-within-a-HTML-lt-td-gt-tag/m-p/2053607#M38540</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2023-03-27T13:34:32Z</dc:date>
    </item>
    <item>
      <title>Re: Error when adding an image within a HTML &lt;td&gt; tag</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Error-when-adding-an-image-within-a-HTML-lt-td-gt-tag/m-p/2053836#M38551</link>
      <description>&lt;P&gt;If you are interested, the Qlik Help page on the rendering topic has been updated that supports the earlier comments as well.&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
 &lt;P&gt;&lt;A href="https://help.qlik.com/en-US/nprinting/May2022/Content/NPrinting/HTMLReports/IntroHTML.htm" target="_blank"&gt;https://help.qlik.com/en-US/nprinting/May2022/Content/NPrinting/HTMLReports/IntroHTML.htm&lt;/A&gt;&lt;/P&gt;
 &lt;UL&gt;
  &lt;LI&gt;The final output of emails with embedded HTML reports may differ depending on the email clients and permissions of the recipient. Some systems automatically block images, or show them as attachments.&lt;/LI&gt;
 &lt;/UL&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Kind regards,&lt;/P&gt;</description>
      <pubDate>Mon, 27 Mar 2023 21:50:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Error-when-adding-an-image-within-a-HTML-lt-td-gt-tag/m-p/2053836#M38551</guid>
      <dc:creator>Frank_S</dc:creator>
      <dc:date>2023-03-27T21:50:56Z</dc:date>
    </item>
    <item>
      <title>Re: Error when adding an image within a HTML &lt;td&gt; tag</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Error-when-adding-an-image-within-a-HTML-lt-td-gt-tag/m-p/2053853#M38552</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/1326"&gt;@Lech_Miszkiewicz&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm using&amp;nbsp;Qlik NPrinting&amp;nbsp;May 2022 SR4&amp;nbsp;&lt;SPAN class="ng-scope"&gt;Version: 22.15.14.0&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="about-product-id"&gt;&lt;SPAN class="ng-scope"&gt;with QlikView May 2022 Version 12.70.20000.0&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="about-product-id"&gt;&lt;SPAN class="ng-scope"&gt;The object the image is of is a text box with conditional colour to create a traffic light type indicator.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="about-product-id"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="about-product-id"&gt;&lt;SPAN class="ng-scope"&gt;I'm also really confused now. The &lt;STRONG&gt;exact&lt;/STRONG&gt; code thats been broken for a few days, is working as intended today.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="about-product-id"&gt;&lt;SPAN class="ng-scope"&gt;I didn't change anything and was in the process of running it to generate some screenshots of the issue.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="about-product-id"&gt;&lt;SPAN class="ng-scope"&gt;In regard to some other queries, the code is only being run in NPrinting preview mode, using MS Edge.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="about-product-id"&gt;&lt;SPAN class="ng-scope"&gt;The issue appeared to be the&amp;nbsp;&amp;lt;img src="%%TX280%%" alt="TX280"&amp;gt; tag not translating into a base64 for the browse to render it. When viewing the source of the page, you could see one image where it translated correctly, but for the one with the broken link, the &amp;lt;img src="%%TX280%%"... html tag was still in place, indicating %%TX280%% hadn't been converted by NPrinting.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="about-product-id"&gt;What was further making me believe the issue was a NPrinting bug, was of my three columns, if the image was in the first &amp;lt;td&amp;gt; tag, it rendered, if in the first and third it rendered, but in the third by itself it broke.&lt;/P&gt;
&lt;P class="about-product-id"&gt;As for&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/48729"&gt;@Ruggero_Piccoli&lt;/a&gt;&amp;nbsp;, where the image was supposed to be I had a broken link icon within the target cell, such as &lt;A href="https://ih1.redbubble.net/image.485923661.1240/st,small,507x507-pad,600x600,f8f8f8.u1.jpg" target="_self"&gt;this&lt;/A&gt;&amp;nbsp;. The base64 was then sitting outside of the table.&lt;/P&gt;
&lt;P class="about-product-id"&gt;I'll monitor it for now and see if the problem reappears.&amp;nbsp;&lt;/P&gt;
&lt;P class="about-product-id"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="about-product-id"&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Mar 2023 02:18:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Error-when-adding-an-image-within-a-HTML-lt-td-gt-tag/m-p/2053853#M38552</guid>
      <dc:creator>MattG</dc:creator>
      <dc:date>2023-03-28T02:18:29Z</dc:date>
    </item>
    <item>
      <title>Re: Error when adding an image within a HTML &lt;td&gt; tag</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Error-when-adding-an-image-within-a-HTML-lt-td-gt-tag/m-p/2053874#M38553</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/64701"&gt;@MattG&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;I am glad this is somehow working now but... If your goal is to do just traffic lights it is much better practice to do conditional format of the cell in HTML. You can populate cell with asci character such as those ones&amp;nbsp;● or&amp;nbsp; █&amp;nbsp;and use this concept to colour code it:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-NPrinting/Nprinting-HTML-How-change-background-color-based-on-the-data/td-p/1606963" target="_blank"&gt;https://community.qlik.com/t5/Qlik-NPrinting/Nprinting-HTML-How-change-background-color-based-on-the-data/td-p/1606963&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;or&amp;nbsp;&lt;/P&gt;
&lt;P&gt;you can use even simpler solution with emojis:&amp;nbsp;&lt;SPAN&gt;&lt;span class="lia-unicode-emoji" title=":red_circle:"&gt;🔴&lt;/span&gt;&amp;nbsp;🟡 🟢&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Mar 2023 04:57:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Error-when-adding-an-image-within-a-HTML-lt-td-gt-tag/m-p/2053874#M38553</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2023-03-28T04:57:43Z</dc:date>
    </item>
    <item>
      <title>Re: Error when adding an image within a HTML &lt;td&gt; tag</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Error-when-adding-an-image-within-a-HTML-lt-td-gt-tag/m-p/2053875#M38554</link>
      <description>&lt;P&gt;Yeah I played with conditionally formatting the font colour which worked. The client wanted a larger image though so I started playing with the image option.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Mar 2023 05:01:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Error-when-adding-an-image-within-a-HTML-lt-td-gt-tag/m-p/2053875#M38554</guid>
      <dc:creator>MattG</dc:creator>
      <dc:date>2023-03-28T05:01:35Z</dc:date>
    </item>
    <item>
      <title>Re: Error when adding an image within a HTML &lt;td&gt; tag</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Error-when-adding-an-image-within-a-HTML-lt-td-gt-tag/m-p/2053879#M38555</link>
      <description>&lt;P&gt;Fair enough - the reason I am not big fan of images is that you have almost no control over them if you want to put them in table and then send that as HTML embedded in email body and worst case - you want to open that email in windows outlook email client.&lt;/P&gt;
&lt;P&gt;I did not find smart way of managing size of such image other than just hardcoding it to x &amp;amp; y pixels directly in QlikView...&lt;/P&gt;</description>
      <pubDate>Tue, 28 Mar 2023 05:16:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Error-when-adding-an-image-within-a-HTML-lt-td-gt-tag/m-p/2053879#M38555</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2023-03-28T05:16:29Z</dc:date>
    </item>
    <item>
      <title>Re: Error when adding an image within a HTML &lt;td&gt; tag</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Error-when-adding-an-image-within-a-HTML-lt-td-gt-tag/m-p/2053900#M38557</link>
      <description>&lt;P&gt;I'll give you one guess at what the HTML is being used for &lt;span class="lia-unicode-emoji" title=":expressionless_face:"&gt;😑&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Mar 2023 06:00:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Error-when-adding-an-image-within-a-HTML-lt-td-gt-tag/m-p/2053900#M38557</guid>
      <dc:creator>MattG</dc:creator>
      <dc:date>2023-03-28T06:00:12Z</dc:date>
    </item>
    <item>
      <title>Re: Error when adding an image within a HTML &lt;td&gt; tag</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Error-when-adding-an-image-within-a-HTML-lt-td-gt-tag/m-p/2053963#M38561</link>
      <description>&lt;P&gt;ok - looks like it is going to be HTML embedded&amp;nbsp; in email body...&lt;/P&gt;</description>
      <pubDate>Tue, 28 Mar 2023 08:16:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Error-when-adding-an-image-within-a-HTML-lt-td-gt-tag/m-p/2053963#M38561</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2023-03-28T08:16:32Z</dc:date>
    </item>
  </channel>
</rss>

