Code: Select all
<?PHP
$image = imagecreatefromstring(file_get_contents("http://yoururl.com/img.jpg"));
header('Content-Type: image/png');
imagepng($image);
imagedestroy($image);
?>
Code: Select all
<html>
<body>
<img src="test.php">
</body>
</html>