Showing posts with label Lock Blog Photos. Show all posts
Showing posts with label Lock Blog Photos. Show all posts

Wednesday, July 15, 2009

Locking your blog photos - Part II

I have my blog locked so you can't right click, but a friend of mine noted that when you click on the picture that is uploaded within Blogger, it takes it to another screen where you can then right click and download the picture. I believe I have fixed this issue. You shouldn't be able to click on the picture in this entry and enlarge it. It should be static.

Here is how I did it. The following is the code I see in the "Edit HTML" side of composing a blog entry.





I added the red to show you what I deleted (don't forget the last little red bit at the end). After you delete that code, go into the preview screen and try clicking on the photos. If you get a message asking you if you really want to navagate away from the page, you did something wrong. If nothing happens, you did it right. Also, if you see some wierd code by your pictures, or your picture didn't show up, you either didn't delete everything you should have, or you deleted too much.

Please try it and let me know what you think and if it works for you.

This is only for use when you are uploading your pictures within Blogger. If you are using "Edit HTML" and pulling code from a site like Flickr, you will need to change the settings within Flickr to not allow downloads. I have done this at my Flickr account.

Monday, July 6, 2009

Locking your blog photos - Disable Right Click

I have had several requests from people who want to know how to lock their blogs so people don't steal pictures. I was given this site when I asked the same question. It is really easy to do. It only takes 5 minutes.

Here is the raw link if the one above doesn't work:

http://www.wealthmakingsoftwares.com/how-to-disable-right-click-on-blogger-blog-to-stop-copy-of-content/

****Update ****

I noticed that the links above are broken. Here is the HTML code I used to disable right clicking on my blog:









<script language="JavaScript"> <!--//
var message="Please do not use any images without permission from Brett. Feel free to e-mail Brett and ask for permission!";///////////////////////////////////function clickIE4(){if (event.button==2){alert(message);return false;}}function clickNS4(e){if (document.layersdocument.getElementById&&!document.all){if (e.which==2e.which==3){alert(message);return false;}}}if (document.layers){document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS4;}else if (document.all&&!document.getElementById){document.onmousedown=clickIE4;}document.oncontextmenu=new Function("alert(message);return false")// --></script>




If you have problems, just send me a message and I can help.