At the moment just find all the image tags and put it into an array.
I have...
<?php
$url="http://example.com";
$text = file_get_contents($url);
preg_match_all("/<img.*src=[\'\"][0-9A-Za-z.\/]*[\'\"].(.*?)>", $text, $match);
print_r($match);
?>
At the moment it seems to give two arrays with images in the first then mixed content in the other (alt, width, height etc...) Thanks