Forum Moderators: phranque
When it's a commercial page, I perform counter actions by the .htaccess referrer redirect.
But they are mostly forum pages. People illustrating more or less strange discussions with my photos.
Now I have an idea.
if the referer is not example.com, I could return a picture with a description
_____________________________________________
You are copying a picture from example.com to Your web site. This is something like a copyright violation.
But as long as You are a not commercial homepage, we allow You to use the picture by the following method:
<iframe src=http://cgi.example.com/cgi-bin/picture?theme.example.com/picture-url>
</iframe>
If You are a commercial site, please contact
us for proper licensing of our pictures.
_____________________________________________
I thought my cgi should return
<html>
<body>
<a href=http://example.com/page-where-the-picture-is.htm><img src=http://http://example.com/page-where-the-picture-is.jpg>
</body>
</html>
Any input on my idea?
Hat somebody experiences with similar tactics?
Does Google count IMG links for link popularity?
Does Google count IFRAME links for link popularity?
RewriteEngine on
RewriteCond %{HTTP_REFERER}!^$
RewriteCond %{HTTP_REFERER}!^http://mysite.com.*$ [NC]
RewriteCond %{HTTP_REFERER}!^http://www.mysite.com.com.*$ [NC]
RewriteCond %{HTTP_REFERER}!^http://mysite.com:80.*$ [NC]
RewriteCond %{HTTP_REFERER}!^http://www.mysite.com:80.*$ [NC]
RewriteRule .*[Jj][Pp][Gg]$¦.*[Gg][Ii][Ff]$ [mysite.com...]
You can put whatever message you want in the no_pictures.html, but why would you want even a non-commercial entity to use your pictures (and/or your bandwidth) unless it was useful as some sort of advertising for your site?
You can put whatever message you want in the no_pictures.html, but why would you want even a non-commercial entity to use your pictures (and/or your bandwidth) unless it was useful as some sort of advertising for your site?
I want to force them to replace the pictures with an iframe where the picture contains a link to the page where the original photo is.
I hope that maybe 5% follow the link.
Maybe try googling for "hotlinking protection". I found a script that mod-rewrites external image requests to a php file that displays the image and a link. The script I found was rendered poorly, and the whitespace needed to be edited to get the header stuff all on one line to make it work.
If people hotlink they get a red cross (html doesn't process too well as an image) but if the image on your site is linked then the visitor can see the image and the link.