When I run the following script, the image is not rendered well. What is the problem here? This is the code:
Use DOMDocument (I hope that your schoolmistress will not scold you):
$dom = new DOMDocument();
$dom->loadHTMLFile('http://www.asaphshop.nl/epages/asaphnl.sf/nl_NL/?ObjectPath=/Shops/asaphnl/Products/80203122');
$xpath = new DOMXPath($dom);
$url = $xpath->query('//div[@id="ProductImages"]/ul/li/a/img/@data-src-l')->item(0)->nodeValue;
echo $url;