I'm looking for the SEO way to tell Google not to download pictures.
I have a script that generates one of two things based on who accesses the site:
If an unauthorized robot accesses the site, they will receive a message that they should visit the website first.
Users on the other hand who have seen the site first will cause the script to generate the picture for them.
I already have this header:
X-Robots-Tag: noindex, noimageindex
But I'm not too sure what status code I should hand to robots (who receive the message instead of the picture). Right now, I set it to 200 to denote a valid page. I was thinking of setting it to 401, but I don't know if that's correct in this case.