<?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 How to set a default image in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-set-a-default-image/m-p/204517#M61383</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In your loading script you must be loading a mapping table for employee and the path\filename for employee picture. If so, you may add if condition in your load script to find if employee picture exists and load that, otherwise you can load a default image - image not available or something.&lt;/P&gt;&lt;P&gt;So briefly:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD EmpName,&lt;/P&gt;&lt;P&gt;if(FileTime('c:\images\' &amp;amp; EmpName &amp;amp; '.jpg') &amp;gt; 0, 'c:\images\' &amp;amp; EmpName &amp;amp; '.jpg', 'c:\images\' &amp;amp; 'defualt.jpg') as EmpImage,&lt;/P&gt;&lt;P&gt;….&lt;/P&gt;&lt;P&gt;….&lt;/P&gt;&lt;P&gt;FROM ….&lt;/P&gt;&lt;P&gt;WHERE…&lt;/P&gt;&lt;DIV&gt;Hope this helps.&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Feb 2011 07:59:39 GMT</pubDate>
    <dc:creator>disqr_rm</dc:creator>
    <dc:date>2011-02-08T07:59:39Z</dc:date>
    <item>
      <title>How to set a default image</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-set-a-default-image/m-p/204516#M61382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I want to display profile picture of employees when I select the Employee name from a list box. But for some employees there is no image available in the database. For such employees I want to display a default image. How can I do this? Please help me on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You!&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Feb 2011 06:12:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-set-a-default-image/m-p/204516#M61382</guid>
      <dc:creator />
      <dc:date>2011-02-08T06:12:19Z</dc:date>
    </item>
    <item>
      <title>How to set a default image</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-set-a-default-image/m-p/204517#M61383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In your loading script you must be loading a mapping table for employee and the path\filename for employee picture. If so, you may add if condition in your load script to find if employee picture exists and load that, otherwise you can load a default image - image not available or something.&lt;/P&gt;&lt;P&gt;So briefly:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD EmpName,&lt;/P&gt;&lt;P&gt;if(FileTime('c:\images\' &amp;amp; EmpName &amp;amp; '.jpg') &amp;gt; 0, 'c:\images\' &amp;amp; EmpName &amp;amp; '.jpg', 'c:\images\' &amp;amp; 'defualt.jpg') as EmpImage,&lt;/P&gt;&lt;P&gt;….&lt;/P&gt;&lt;P&gt;….&lt;/P&gt;&lt;P&gt;FROM ….&lt;/P&gt;&lt;P&gt;WHERE…&lt;/P&gt;&lt;DIV&gt;Hope this helps.&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Feb 2011 07:59:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-set-a-default-image/m-p/204517#M61383</guid>
      <dc:creator>disqr_rm</dc:creator>
      <dc:date>2011-02-08T07:59:39Z</dc:date>
    </item>
    <item>
      <title>How to set a default image</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-set-a-default-image/m-p/204518#M61384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot Rakesh... It works fine &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Feb 2011 08:17:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-set-a-default-image/m-p/204518#M61384</guid>
      <dc:creator />
      <dc:date>2011-02-08T08:17:34Z</dc:date>
    </item>
  </channel>
</rss>

