If an image on my blog goes viral on social media, many people will view it on its own in their browser while I pay CDN bills.
Instead, what I'd like is for WordPress or nginx to recognize that a user only wants to see a specific non-theme image, and instead of serving the image directly, it would dynamically serve a page from my blog featuring the image.
This way, I at least have a chance of retaining some of those image-wanting visitors on my blog.
Is there a plugin that does this, or do I need some htaccess rewrite magic?
Thanks for any help