Page 1 of 1

Protect thumbnail images displayed in gallery

PostPosted: May 3rd, 2011, 4:54 pm
by hollybret
I have uploaded several images to a photo gallery on my site. I have encoded the link to protect the full images, which are in the s2Member-files folder, which the registered members will go to when they click on the image. However, the thumbnails that are displayed are currently able to be dragged and dropped to the desktop and/or right-clicked to copy. Is there no way to protect the thumbnail images on my site?

Holly
GOODesigners.com

Re: Protect thumbnail images displayed in gallery

PostPosted: May 3rd, 2011, 9:16 pm
by Cristián Lávaque
You'd need to modify the gallery script that creates the thumbnail pictures, I guess. But if they're small, does it really matter that someone saves them?

Re: Protect thumbnail images displayed in gallery

PostPosted: May 3rd, 2011, 9:29 pm
by hollybret
I installed the WP-Copyright Protection plug-in, which disables right-click and click-&-drag copying. We do have issues with people copying even the thumbnail, since some of them are small buttons for websites {meant to be used small}. Thanks

Re: Protect thumbnail images displayed in gallery

PostPosted: May 3rd, 2011, 11:34 pm
by Cristián Lávaque
Ah, I understand the problem then, I was thinking the originals were larger, like photos, rather than icons. I'm glad you found a fix. :)

Re: Protect thumbnail images displayed in gallery

PostPosted: May 4th, 2011, 12:00 pm
by drbyte
The answer to your question is NO.

Having said that, you can prevent somebody form hotlinking (leeching) your images by implementing this to your .htaccess file

<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www\.)?domain\.com/.*$ [NC]
RewriteRule .*\.(gif|jpg|png)$ http://www.domain.com/eatme.jpe [R,NC,L]
</ifModule>

Sam