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.
When the media are configured on {{secure_base_url}}media/
it works.
When the media is configured on https:// or http://cdn.domain.tld/media
don't works.
As far we understand the issue is in the line 17 of Shipment.php
$imageLocation = substr($imagePath,strlen(Mage::getBaseUrl()));
Can you please advice how we can load the product pictures on the PDF when the CDN is enabled?
Thanks in advance