Forum Moderators: phranque
I know how to prevent hotlinking to all my files, but can it be done for just a specific file? I want to try just one file at first if possible because I am not sure what would happen if I blocked access to all files, I do not understand the concept enough to make an informed decision about it.
Thoughts, Comments,
They don't immediately realize it because they have the real image cached locally, by the time they do realize there page is messed up the image doesn't come to mind and they can spend forever trying to figure out what's happening because there is no visual reference since it's transparent.
Yea, I know I'm evil. :)
The other thing is to think about how they are finding your ocelot pic. Is it described as an ocelot in the image tag? Maybe you could rename it or take the name off. Then it might not be found so easily in image searches, esp. if your page has nothing to do with ocelots.
Other ways to consider:
1. Rename the image and put an ad for your site at the old image for some free advertising. This is what I usually do.
2. Replace the original image with an adult picture. If the picture is being used at some place like Ebay, blogger or wordpress, then report the image stealer for having adult content on their site.
3. Replace the image with something weird like a foot odor ad.
[edited by: Jane_Doe at 3:59 am (utc) on Dec. 4, 2007]
Also, you want to look for online hotlinking checkers. Local caching really makes it tough to try to determine if you are being leeched.
You can have some fun with it. I had a 60k pic that some guy was using as the logo for his Anti-Bush blog. I made up a pic with "W is the best Prez ever and anyone who thinks otherwise is a moron".. Since he was looking at a locally cached copy when he viewed his blog, it took him about 3 weeks to finally figure it out.. That was 21 'laugh a days' for me as I checked it each day..
Be careful with the anti leech stuff in cpanel. I've had cases where it has scrambled the .htaccess for things like subdomain redirects. Make sure you have copied of all of your htaccess files before you do anything.. (Ie at the root and in folders such as the root of any bulletin board or ecommerce apps)
cg.
I've watermarked all of my images with our site address.
I think you have to do both the .htaccess and the watermarking if you have a decent amount of images.
For doing a nice image overlay you'll either need a decent image editing application that supports batch processing or do it server side with GD or Imagemagick. If you're on shared hosting the latter is probably not an option as it will suck up a lot of resources if you're doing a lot of them.
Haven't tried to use it for it but you might also want to try the gimp for this, undoubtedly you'll find it will either out of the box or with a add-on.
-------------------
If you're trying to make the image unusable stamp the entire image with transparent mark that uses a gradient fill.