How do you disable right click "save as" option on photos?
-
Hi, I am setting up a photography blog, and I have disable right click on my blog page itself, but if you left click it, it will bring it up much larger and give you the save as option. How do you disable that? I just don't want people stealing my pictures. Thanks!
-
Answer:
i know u can get javascript that does it, i used it in a assignment for school i had heres a site for right click disable javacsript http://javascript.internet.com/page-details/no-right-click.html
utpeanut at Yahoo! Answers Visit the source
Other answers
Even if you do block it; people can take screen shots then crop all the text you put around it or w.e. Just sayinggg! :)
(:Ally
put this java script in ur html page. This will help u.. <SCRIPT LANGUAGE="JavaScript"> function right(e) { var msg = "Sorry, you don't have permission to right-click."; if (navigator.appName == 'Netscape' && e.which == 3) { alert(msg); return false; } if (navigator.appName == 'Microsoft Internet Explorer' && event.button==2) { alert(msg); return false; } else return true; } function trap() { if(document.images) { for(i=0;i<document.images.length;i++) { document.images[i].onmousedown = right; document.images[i].onmouseup = right; } } } // End --> </SCRIPT> </HEAD> < Copy the event handler into the BODY tag --> <BODY onLoad="trap()">
karthick-stories4u.blogspot.com
No possible way. You cant override someones computer. Save as is a function on the client end (your website visitors). Plus, all they would need to do is do a screenshot. The best way is to embed them in a flash viewer, that prevents save as, but they can still do screen shots if they want to take your images. The Javascript disabling does not work on Firefox or Safari browsers. Only IE :) In IE all they need to do is disable javascript and then right click -- save as. Just watermark your images, that way if someone takes them, they cant use them without your watermark on them.
korgrue
Don't try to protect the images by stopping right click. It does not work. Anyone that wants your photos will be able to get them no matter what you do. The only way to protect your pictures is to use a watermark. Here is a link using the free image editor Gimp that tells you how to do it. Have fun.
AnalProgrammer
<SCRIPT language="JavaScript"> <!-- var message="Right-mouse click has been disabled."; function click(e) { if (document.all) { if (event.button==2||event.button==3) { 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> or this one (i recommend this one) <!-- TWO STEPS TO INSTALL NO RIGHT CLICK: 1. Copy the coding into the HEAD of your HTML document 2. Add the last code into the BODY of your HTML document --> <!-- STEP ONE: Paste this code into the HEAD of your HTML document --> <HEAD> <SCRIPT LANGUAGE="JavaScript1.1"> <!-- Original: Martin Webb ([email protected]) --> <!-- This script and many more are available free online at --> <!-- The JavaScript Source!! http://javascript.internet.com --> <!-- Begin function right(e) { if (navigator.appName == 'Netscape' && (e.which == 3 || e.which == 2)) return false; else if (navigator.appName == 'Microsoft Internet Explorer' && (event.button == 2 || event.button == 3)) { alert("Sorry, you do not have permission to right click."); return false; } return true; } document.onmousedown=right; document.onmouseup=right; if (document.layers) window.captureEvents(Event.MOUSEDOWN); if (document.layers) window.captureEvents(Event.MOUSEUP); window.onmousedown=right; window.onmouseup=right; // End --> </script> </HEAD> <!-- STEP TWO: Copy this code into the BODY of your HTML document --> <BODY> <center>[ Try right-clicking the image and then the text link below ] <p> <img src="http://javascript.internet.com/img/… <p> <a href="http://javascript.internet.com">Te… Link</a> <p><center> <font face="arial, helvetica" size="-2">Free JavaScripts provided<br> by <a href="http://javascriptsource.com">The JavaScript Source</a></font> </center><p>
DzSoundNirvana
you can disable right click using javascript. the javascript is available at dynamicdrive.com.. there are other ways available too.. this doesnt mean that you photos are protected from saving.. it is still possible in many other ways.
Manoj F
The best way to protect your photos is not to post them (Facebook, Friendster, Multiply, etc) or make them private and just select those people you want your private pictures to be viewed.
3G
yeah yeah here.. http://www.dynamicdrive.com/dynamicindex9/noright2.htm
NetMyMate
Related Q & A:
- How do I disable the Facebook share button?Best solution by Stack Overflow
- How can I disable default blocks in Drupal 7 without touching the Blocks Config admin?Best solution by Drupal Answers
- How do I disable the previous dates in Android custom calendar?Best solution by Stack Overflow
- How to remove items from the "right-click" menu?Best solution by Super User
- How does online pay per click work?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.