2 ms·
And how will that continue to work when if it goes beyond Twitter, G+, and FB? Most browsers send a referrer in HTTP GET for the img tag. It works now for those
by mzs 13y ago
And how will that continue to work when if it goes beyond Twitter, G+, and FB? Most browsers send a referrer in HTTP GET for the img tag. It works now for those because google and facebook grok the html, pull out the image, and cache it.
- lcampbell 13y agoIn an <img> context, your browser should send an appropriate Accept header[1]; this can be switched upon in the backend to select the appropriate representation (e.g., to serve an image rather than HTML). So hotlinked images should continue to work, while normal links will redirect to the HTML wrapper. -- [1] Though, rather unfortunately, most browsers do not seem to send reasonable Accept headers. See https://developer.mozilla.org/en-US/docs/HTTP/Content_negotiation https://developer.mozilla.org/en-US/docs/HTTP/Content_negoti..., "Default Values" and "Values for an image".
- eli 13y agoUh, well if it went beyond direct links from social media then it probably would break hotlinking. Hasn't done that though -- not yet, anyway.