title: Magento Print Packingslips (Pre-shipped)
body: <p>We have an issue with the Print Packing slips (pre-shipped) on our Magento 1.9.2 when we enable content delivery network from a provider, it dosn't load the pictures on the generated PDF. When it's without CDN it loads the pictures without issues. </p>
  
  <p>When the media are configured on <code>{{secure_base_url}}media/</code> it works.
  When the media is configured on <code>https:// or http://cdn.domain.tld/media</code> don't works.</p>
  
  <p>As far we understand the issue is in the line 17 of Shipment.php </p>
  
  <pre><code>$imageLocation = substr($imagePath,strlen(Mage::getBaseUrl()));
  </code></pre>
  
  <p>Can you please advice how we can load the product pictures on the PDF when the CDN is enabled? </p>
  
  <p>Thanks in advance</p>