protecting photos in gallery

tamon77

Joined: 2002-10-04
Posts: 2
Posted: Fri, 2002-10-04 01:38

For the record ... I have truly enjoyed using Gallery on my website. It has made my life so much easier. That being said, I am left with a somewhat major issue. I need find a way to protect my images. On an old web site I used to this script that would disable right-clicking on an image ... here is the link: http://www.dynamicdrive.com/dynamicindex9/noright.htm

That worked like a charm!! But now I don't know if it will work or not with Gallery. Furthermore, I don't know which file to insert the script in, or if it will even work at all.
I could use some really good advice on this and I am open to suggestions.

Here is my website address if you want to have a look at my gallery: http://www.yanagimotophoto.net

Keep up the good work!!!

:sad:

 
BorgKing
BorgKing's picture

Joined: 2002-09-12
Posts: 314
Posted: Fri, 2002-10-04 18:55

You do realise that such a script doesn't provide any real protection? Only the newbies will assume they can't save your photos. All the others will just grab the photos from their browser cache. If you really want to protect your photos, I suggest you include a watermark or copyright notice in every original photo, before you upload them into gallery.

If you still want to use that script, try inserting it in view_photo.php, around line 176 (in between the <head> tags, cause that's where these scripts usually go.
Judging by your site, you're using some CMS, so maybe you can insert the script in those headers and use it everywhere throughout your site, it doesn't provide any real protection anyway, but it annoys your visitors nicely :grin:

 
tamon77

Joined: 2002-10-04
Posts: 2
Posted: Fri, 2002-10-04 19:20

Thanks for the tip. I DO realize that this will NOT protect my pictures completely, but a nice annoyance is better than nothing.

That being said, I still can't get the script to work. I inserted it between the <head> tags but still nothing ... hmmm .... guess I'll keep plugging away. If you can think of anything else let me know....

Thanks for your suggestion ...

:???:

 
Gaile

Joined: 2002-07-20
Posts: 1301
Posted: Fri, 2002-10-04 20:11

Hi there

BorgKing is right, if people are determined, there are all kinds of ways to grab your shots. I use a no-right click script that doesn't disable the back button (in other words, the warning only comes up when you click on an image, not when you click elsewhere on the page). I use it more as a friendly reminder that the images are copyright, etc etc.

The script is from Dynamic Drive, you can get it here: http://www.dynamicdrive.com/dynamicindex9/noright2.htm (or alternatively try one of their other no right click scripts).

It doesn't work with Opera - I don't know of one that does. It works with NS4 ON THE FULL SIZE IMAGES ONLY. Apparently with NS4 if the images are hyperlinked the script is disabled, so your thumbnails will be "right clickable", but the larger view won't be.

Now, where to put it - you need to place the script above the <!-- BBCode Start --><TABLE BORDER=0 ALIGN=CENTER WIDTH=85%><TR><TD><font class="pn-sub">Code:</font><HR></TD></TR><TR><TD><FONT class="pn-sub"><PRE></body></TD></TR></TABLE><!-- BBCode End -->tag on each of the following pages: albums.php, view_album.php, view_photo.php, search.php and the two slideshow pages (regular and low version). I think that's it!

HTH!