I have the images of my website stored on a different host (flickr) and stored in a database, Im happy with the way this works but someone told me it is bad for seo because if someone finds the image on google it'll direct to flickr and not to my website.
Now to bypass this problem, I was thinking of doing this:
routes.get('/img.jpg', function(req, res) {
res.redirect("http://lorempixel.com/300/300");
});
and when I do this:
<img src="/img.jpg">
I get my desired image, but does this fool the googlebot? And if not is there a simple way to do so?