I need to try and reduce the amount of image theft on my site.
Their seems to be 2 main ways of doing this.
1. disable right click using a javascript
2. put a transparent image over the image display.
The second seems to be best??? … I have seen the following trick for another gallery and was wondering if someone can help me adapt this code to work on RSgallery…
in imageview.tpl.php change ….
< img alt=”<? print $short_desc;?>” width=”<? print $width;?>” height=”<? print $height;?>” src=”<? print $image;?>” border=”1″ style=”border-color: #888888;”/>
to
<? echo ‘ < img src= “transparent.gif” alt=” ‘. $short_desc. ‘ ” ‘.
‘style=” width:’. $width.’px; ‘.
‘height:’. $height.’px; ‘.
‘background: url(‘.$image.’)”‘;?> border=”1″ style=”border-color: #888888;”/>
will this work? … what do I change where?
any better ideas? welcome
also … I am willing to force all users to register if they want to browse galleries … does this help?
many thanks