<?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 Hi Shawn, in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/adding-an-image/m-p/1025249#M39835</link>
    <description>&lt;P&gt;Hi Shawn,&lt;/P&gt;

&lt;P&gt;I would say, use a relative path. From where you are accessing the image:&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 1em; border: 0px; font-size: 15px; clear: both; color: rgb(34, 34, 34); font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; line-height: 19.5px;"&gt;&lt;CODE style="margin: 0px; padding: 1px 5px; border: 0px; font-size: 13px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, sans-serif; white-space: pre-wrap; background-color: rgb(238, 238, 238);"&gt;../images/login.png&lt;/CODE&gt;&amp;nbsp;will move you back one folder.&lt;/P&gt;

&lt;P style="margin-bottom: 1em; border: 0px; font-size: 15px; clear: both; color: rgb(34, 34, 34); font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; line-height: 19.5px;"&gt;&lt;CODE style="margin: 0px; padding: 1px 5px; border: 0px; font-size: 13px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, sans-serif; white-space: pre-wrap; background-color: rgb(238, 238, 238);"&gt;../../images/login.png&lt;/CODE&gt;&amp;nbsp;will move you back two folders.&lt;/P&gt;

&lt;P style="margin-bottom: 1em; border: 0px; font-size: 15px; clear: both; color: rgb(34, 34, 34); font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; line-height: 19.5px;"&gt;&lt;CODE style="margin: 0px; padding: 1px 5px; border: 0px; font-size: 13px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, sans-serif; white-space: pre-wrap; background-color: rgb(238, 238, 238);"&gt;/images/login.png&lt;/CODE&gt;&amp;nbsp;will take you back to the root folder no matter where you are.&lt;/P&gt;

&lt;P style="margin-bottom: 1em; border: 0px; font-size: 15px; clear: both; color: rgb(34, 34, 34); font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; line-height: 19.5px;"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 1em; border: 0px; font-size: 15px; clear: both; color: rgb(34, 34, 34); font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; line-height: 19.5px;"&gt;To open the image in a new window, use the InAppBrowser plugin. This will be a simple event handler in your 'js/app.js':&lt;/P&gt;

&lt;PRE class="brush:jscript;"&gt;function localImg() {
        var ref = window.open('images/login.jpg', '_blank', 'location=yes');

}&lt;/PRE&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;Bind this to your login button and see how it works. You should include the inappbrowser plugin from Project tab -&amp;gt; Plugin. Just tick the plugin from the Standard Cordova plugins list.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 24 Jul 2015 18:16:00 GMT</pubDate>
    <dc:creator>Anusha_M_Intel1</dc:creator>
    <dc:date>2015-07-24T18:16:00Z</dc:date>
    <item>
      <title>adding an image</title>
      <link>https://community.intel.com/t5/Software-Archive/adding-an-image/m-p/1025247#M39833</link>
      <description>&lt;P&gt;I'm working on an app that has a "login" button.&lt;/P&gt;

&lt;P&gt;When the user types in their credentials and clicks "log in" I display an animated GIF (spinning wheel).&lt;/P&gt;

&lt;P&gt;That only works when I include a full path to the file in the code, i.e; c:\apps\xdk\images\file.gif&lt;/P&gt;

&lt;P&gt;This does not get included in the test "push" and I'm guessing also not in a build.&lt;/P&gt;

&lt;P&gt;My question: How do I add a picture to my app that will get included in both the test and the build?&lt;/P&gt;

&lt;P&gt;thanks&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jul 2015 15:16:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/adding-an-image/m-p/1025247#M39833</guid>
      <dc:creator>Shawn_A_</dc:creator>
      <dc:date>2015-07-24T15:16:11Z</dc:date>
    </item>
    <item>
      <title>Have you tried using adding</title>
      <link>https://community.intel.com/t5/Software-Archive/adding-an-image/m-p/1025248#M39834</link>
      <description>&lt;P&gt;Have you tried using adding this way?&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="563431(1).PNG"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/7765i86327B6CA0F0676B/image-size/large?v=v2&amp;amp;px=999&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="563431(1).PNG" alt="563431(1).PNG" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="563431(2).PNG"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/7766iC0CE452E325F9242/image-size/large?v=v2&amp;amp;px=999&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="563431(2).PNG" alt="563431(2).PNG" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;So if you see the media on the left side. You can select image and provide the path.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jul 2015 17:51:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/adding-an-image/m-p/1025248#M39834</guid>
      <dc:creator>Amrita_C_Intel</dc:creator>
      <dc:date>2015-07-24T17:51:15Z</dc:date>
    </item>
    <item>
      <title>Hi Shawn,</title>
      <link>https://community.intel.com/t5/Software-Archive/adding-an-image/m-p/1025249#M39835</link>
      <description>&lt;P&gt;Hi Shawn,&lt;/P&gt;

&lt;P&gt;I would say, use a relative path. From where you are accessing the image:&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 1em; border: 0px; font-size: 15px; clear: both; color: rgb(34, 34, 34); font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; line-height: 19.5px;"&gt;&lt;CODE style="margin: 0px; padding: 1px 5px; border: 0px; font-size: 13px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, sans-serif; white-space: pre-wrap; background-color: rgb(238, 238, 238);"&gt;../images/login.png&lt;/CODE&gt;&amp;nbsp;will move you back one folder.&lt;/P&gt;

&lt;P style="margin-bottom: 1em; border: 0px; font-size: 15px; clear: both; color: rgb(34, 34, 34); font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; line-height: 19.5px;"&gt;&lt;CODE style="margin: 0px; padding: 1px 5px; border: 0px; font-size: 13px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, sans-serif; white-space: pre-wrap; background-color: rgb(238, 238, 238);"&gt;../../images/login.png&lt;/CODE&gt;&amp;nbsp;will move you back two folders.&lt;/P&gt;

&lt;P style="margin-bottom: 1em; border: 0px; font-size: 15px; clear: both; color: rgb(34, 34, 34); font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; line-height: 19.5px;"&gt;&lt;CODE style="margin: 0px; padding: 1px 5px; border: 0px; font-size: 13px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, sans-serif; white-space: pre-wrap; background-color: rgb(238, 238, 238);"&gt;/images/login.png&lt;/CODE&gt;&amp;nbsp;will take you back to the root folder no matter where you are.&lt;/P&gt;

&lt;P style="margin-bottom: 1em; border: 0px; font-size: 15px; clear: both; color: rgb(34, 34, 34); font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; line-height: 19.5px;"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 1em; border: 0px; font-size: 15px; clear: both; color: rgb(34, 34, 34); font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; line-height: 19.5px;"&gt;To open the image in a new window, use the InAppBrowser plugin. This will be a simple event handler in your 'js/app.js':&lt;/P&gt;

&lt;PRE class="brush:jscript;"&gt;function localImg() {
        var ref = window.open('images/login.jpg', '_blank', 'location=yes');

}&lt;/PRE&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;Bind this to your login button and see how it works. You should include the inappbrowser plugin from Project tab -&amp;gt; Plugin. Just tick the plugin from the Standard Cordova plugins list.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jul 2015 18:16:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/adding-an-image/m-p/1025249#M39835</guid>
      <dc:creator>Anusha_M_Intel1</dc:creator>
      <dc:date>2015-07-24T18:16:00Z</dc:date>
    </item>
    <item>
      <title>I got it figure out.</title>
      <link>https://community.intel.com/t5/Software-Archive/adding-an-image/m-p/1025250#M39836</link>
      <description>&lt;P&gt;I got it figure out.&lt;BR /&gt;
	I was looking in the wrong folder!!!&lt;/P&gt;

&lt;P&gt;d'oh!&lt;BR /&gt;
	&lt;BR /&gt;
	thanks for your help&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jul 2015 19:23:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/adding-an-image/m-p/1025250#M39836</guid>
      <dc:creator>Shawn_A_</dc:creator>
      <dc:date>2015-07-24T19:23:01Z</dc:date>
    </item>
  </channel>
</rss>

