Allow Image Hotlinking and add a line of code
Hello,
I'm new here, and this is my first post.
The question is slightly different from the usual image hotlinking prevention techniques found out there on the web.
I would like to allow image hotlinking (I run a weblog with thousands of images, and most are hotlinked), but just add a line of code after the image saying for example "view the post at http://domain.com"
The same thing to directly linked images on my webserver: there are several sites that link directly to hi-res images and jpegs: this is useless both for the user and for me: the user will see a big picture without descriptions or other stuff, I loose the website tracking... Is it possible to add the same line of code to the linked images, to get that traffic back to the weblog?
I'm running my website on wordpress on a unix-linux platform, but the hosting provider sucks, and I have not access to nothing: a nice way could be to do it through .htaccess (but I don't know how) or through a file I can upload on the server.
Any advice? Thank you for the help
pr0gr4mm3r posted this at 20:39 — 20th August 2007.
He has: 1,502 posts
Joined: Sep 2006
If somebody hotlinks directly to an image, it would be impossible to add a line of code below that image when you don't have control over the website that it linking to your pics. The only option I see here is to watermark your images.
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.