I have two domains sitting on a single server, and I want to use images from domain A, on domain B.
However, I don't want users of domain B to know that the images are being pulled from domain A.
So insetad of putting:
<img src = "http://DOMAIN A/image.jpg">
I'd prefer to do something like:
<img src = "path/on/server/image.jpg">
...but I that doesn't work - I definitely have the correct path:
/home/username/public_html/images/image.jpg
as perform a file_exists on the image first with that path.
As an alternative, I've tried using:
<img src="data:image/jpg;base64,...">
But there are alot of images and this method is super slow.