Thursday, January 8, 2009

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 "<" at the very beginning, then in the very first line should have a "<" before the /script and 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 works most of the time. My SIL can download photos to some of her computers at work, but not all. I figure every little bit helps though.

Speaking of code...I once found a very easy way to make photos on my blog larger. All I had to do was change the second 400 in the photo info to a 720 and sha-zam - bigger images. Then all of a sudden that method didn't work anymore. If you are a photobucket user there is a way to make the photos larger, but that's way too much work for this mamabear. Does anyone know of any other tricks to make images larger?

2 comments:

CntryMomma January 8, 2009 at 2:49 PM  

I never have tried to but I am SO GLAD you share this info. I've always wondered HOW to do it. Now I know!

LORI

Mama January 10, 2009 at 12:57 AM  

Thanks for this information. I added it to my BLOG.

I have learned more from my sister. She pointed out that you can still hit CTRL C to copy and then CTRL V to paste. This command only stops the copy and paste function with the mouse, not the key board. She said their is another code out their that stops both the keyboard and the mouse. I found that code, but can't figure out how to put it into my blog! I am currently working on figureing that out!!!

Anyway thanks for your help.

BTW I love the pictures of your daughter in the pink and brown! What a cutie!

Forest Friends

Campground Chronicles - The Archives

My Talented Blog Designer

  © Free Blogger Templates 'Photoblog II' by Ourblogtemplates.com 2008

Back to TOP