title: Prestashop path to image in php file
body: <p>i am using PrestaShop 1.4.8.2</p>
  
  <p>i neet to generate xml file with products and i found a script. Everything works fine except image path (path is for old image file system, i am using new file system).</p>
  
  <p>Now image path is: <a href="http://www.mydomain.com/img/p/57-56-large.jpg" rel="nofollow">http://www.mydomain.com/img/p/57-56-large.jpg</a></p>
  
  <p>But images are located in: 
      <a href="http://www.mydomain.com/img/p/1/0/0/3/17-32-large.jpg" rel="nofollow">http://www.mydomain.com/img/p/1/0/0/3/17-32-large.jpg</a>
      <a href="http://www.mydomain.com/img/p/2/0/0/3/61-50-large.jpg" rel="nofollow">http://www.mydomain.com/img/p/2/0/0/3/61-50-large.jpg</a>
      <a href="http://www.mydomain.com/img/p/3/1/6/3/29-75-large.jpg" rel="nofollow">http://www.mydomain.com/img/p/3/1/6/3/29-75-large.jpg</a>
      <a href="http://www.mydomain.com/img/p/3/0/4/3/25-11-large.jpg" rel="nofollow">http://www.mydomain.com/img/p/3/0/4/3/25-11-large.jpg</a>
      ...</p>
  
  <p>this line get image path: </p>
  
  <pre><code>http://www.mydomain.com".__PS_BASE_URI__."img/p/".$image[0]['id_product']."-".$image[0]['id_image']."-large.jpg
  </code></pre>