title: supporting multiple resolution and density of images in phonegap
body: <p>I am new to phonegap and facing a problem, I am making a phonegap app which will run on multiple platform devices of different screen size and different screen resolution so I have to load images of different resolution depending on screen resolution.</p>
  
  <p>this can be achieved in android by simply putting your images of different resolution in hdpi, mdpi and ldpi folder and it(android) fetches images automatically depending on devices screen resolution. But how to do this in phonegap.</p>
  
  <p>I have seen lot of articles on responsive web design they all say about positioning the elements on web page but non of them has told about how to place images on the basis of screen resolutions.</p>
  
  <p>thanks i advance.</p>
  
  <p>edited question</p>
  
  <p>i have used following code for html </p>
  
  <pre><code>&lt;div id="header" data-role="header" data-position="fixed"&gt;
   &lt;img alt="app_icon" src="pictures/app_logo.png" display="inline" class="align-left" /&gt;
   &lt;img alt="brand_icon" src="pictures/company_logo.png" display="inline" class="align-right" /&gt;&lt;h1&gt;&lt;/h1&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>now I have images inside assets/www/pictures folder. this folder consists of 2 images of same resolution app_logo.png and company_logo.png and 2 images of higher resolution app_logo_big.png and company_logo_big.png now through media queries i will know the screen size and apply the styles but as far as i know i cannot change img src from css. So now how will i use these images of different resolution</p>