Disable 'Save Picture As...'

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

My apologies if this question has been asked a hundred times before.

I'm using Dreamweaver to create a web site. I am able to open a picture in
a new IE browser window but would like to disable the Save Picture As...
option on the right-click sub menu. How can I do this? For the future,
where can I view pages that go into this aspect of controlling IE (this
should stop me posting annoying and trivial questions).

Many thanks,

pgeo
 
Hi pgeo :-)

Not sure this is what you're looking for, but, you might try the following
and see if it helps:

How to Disabl ethe "Save Picture As" option
http://www.paintingsandprints2.co.uk/disableimages.html

disable the right button menu
http://www.frontpagewebmaster.com/m-85737/tm.htm

also...........

IE6 also has a little bar that comes up when you hover over a picture that
allows you to print or to save, and there is a script to disable this on
dynamicdrive.com

also......

Here are 2 Javascript codes, which one is best

<script language=JavaScript>
<!--

//Disable right mouse click Script
//By Maximus ([email protected]) w/ mods by DynamicDrive
//For full source code, visit http://www.dynamicdrive.com

var message="Function Disabled!";

///////////////////////////////////
function clickIE4(){
if (event.button==2){
alert(message);
return false;
}
}

function clickNS4(e){
if (document.layers||document.getElementById&&!document.all){
if (e.which==2||e.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>


The other is:


<Script Language="JavaScript">
<!--
function click(){
if (event.button==2) { alert('Please contact us before saving our
pictures!')}
}
document.onmousedown=click
// -->
</Script>

There is also this way to scramble the images:

HTML Web Page Scrambler
http://www.searchbliss.com/webmaster_tools/html_scrambler.htm

Also........

How to prevent theft of your source code!
http://www.vortex-webdesign.com/help/hidesource.htm

WebWasher can be set up to 'disable no right click' on web pages.
http://www.webwasher.com/

or...........

Try putting the image into the table cell as the background image, then
create a 1x1 pixel transparent GIF and insert that image into the cell
setting the width & height to the same as the background picture.

This will allow people to right click and "Save picture as", but, they'll
save the transparent pixel and not the image. It won't stop people getting
the images from the cache, but, it is an alternative to disabling right
click.

However, all of the methods specified can be overridden by pressing print
screen, or by other simple methods. I would recommend that you put a
watermark on your images, that way, you might have better protection. A
dedicated image grabber can get unmarked images one way or another.

If these steps do not resolve your problem, please post back to this thread
with the details and any error messages.

Hope this helps

Jan :)
Smiles are meant to be shared,
that's why they're so contagious.

Please reply to the newsgroup so others may benefit.
Replies are posted only to the newsgroup for the benefit or other readers.

How to make a good newsgroup post:
http://www.dts-l.org/goodpost.htm
 
Hi pgeo :-)
Jan - you are without question -

* A STAR *

Thanks,

You're very welcome! Glad to hear you were able to resolve your problem.
Good job!

Thank you for posting back and letting us know what worked for you, and for
the benefit of other readers who might have a similar problem. :-)

Jan :)
Smiles are meant to be shared,
that's why they're so contagious.
 
Back
Top