Skip to main content

Posts

Showing posts with the label public service announcements

A Public Service Announcement

If you've ever tried to download any of my photographs before you might have noticed that the images are protected. This is for the safety of my family and it provides me with copyright protection on my photography blog. Yesterday a reader asked me how I do this. I thought rather than replying to only her I would share this valuable nugget with everyone. Please note that you can't just copy and paste this as a page element. First you need to add a " " after it. If I type it out correctly the computer will put the code to use, rather than display it for you. script type="text/javascript"> var message="Protected image can not be saved."; function click(e) { if (document.all) { if (event.button == 2) { alert(message); return false; } } if (document.layers) { if (e.which == 3) { alert(message); return false; } } } if (document.layers) { document.captureEvents(Event.MOUSEDOWN); } document.onmousedown=click; /script This little nugget of info work...