Forum Moderators: phranque
Has anyone used this above code in htaccess to block theft of your photos.
I used this particular code but it has caused all of my site's photos to not be visible when you upload the site.
Can someone please tell me what is wrong with this code?
Thanks,
Chris
[edited by: jdMorgan at 7:13 pm (utc) on Jan. 11, 2007]
[edit reason] Example.com [/edit]
Also, you will need to add an additional RewriteCond to the second rule, if you use it:
RewriteCond %{REQUEST_URI} !^/images/stealing\.gif$
For general information, see the documents cited in our forum charter [webmasterworld.com] and the tutorials in the Apache forum section of the WebmasterWorld library [webmasterworld.com].
Jim
There is no way to prevent them from copying an image displayed in their browser, since it is by definition already downloaded from your server to their computer in order to be displayed.
You can use JS do disable the right click, but it is ineffective and will only anger some portion of your visitors.
If the images have enough value to protect, then watermarking would probably be the best option.
WBF