Hi,
I'm struggling to understand how I can prevent sites hotlinking to the full image
For example. This is site seems to hotlinking directly
http://www.tvrockstars.com/alcatraz-spoilers-episode-1-05-guy-hastings-promotional-photos/The image they are linking to is this one.
http://www.spoilertv.co.uk/images/cache/pilot-shows/alcatraz/season-1/promotional-episode-photos/Episode 1.05 - Guy Hastings/106Alcatraz-ep106_sc6_001_595.jpgThis is odd as in Options, Image I don't have Cached selected.
How can I stop this or clear the cache?
I'm very confused
Comments
All resized images are cached by zenphoto to avoid overhead of having to process them each time a page was referenced. Since the viewing browser must be able to load the image there is really no way of preventing someone who knows of the image from hotlinking it. You can obscure the names, but that will not help if someone can browse your site.
Anyway, if they can browse your site they can copy the image through any number of mechanisms--simplest is to get it from the local cache of their browser. Bottom line, if you can show the image on your site to the public, the public can capture the image and/or hotlink it.
You should probably watermark the image so that it indicates its origin.
## SITE REFERRER BANNING
RewriteEngine on
RewriteCond %{HTTP_REFERER} tvrockstars\.com [NC]
RewriteRule \.(jpg|png)$ - [F]
ie images with 100_cw85_ch85_thumb etc are fine to hotlink.
There is no need to lecture me publicly here on the forum. I do indeed know what hotlinking is (probably better than you.) I was just trying to be helpful to darkufo.
The .htaccess fix will work, but only for identified domains which is only a specific fix. Not a general solution (because as I said, there is no general solution.)