<img src="data:image/png;base64,<?php echo base64_encode(file_get_contents("IMAGE URL HERE")) ?>">
I was trying to use this resource but kept getting an error, I found the code above worked perfectly.
Just replaced IMAGE URL HERE with the URL of your image - http://www.website.com/image.jpg