How do I prevent website images from being downloaded and saved?

A

Armin

How do I prevent website images from being downloaded and saved by viewers
who use the right click menu?
 
B

Bob Lehmann

Why are you just picking on the right-clickers?

What about the left-click drag and droppers?
What about the IE6 Image Bar hover and save people?
What about the cache scavengers?
What about the ALT | Print Screen folks and the View | Source get-the-url
crowd?

Bob Lehmann
 
T

Thomas A. Rowe

Keep them off the internet.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
 
C

Chuck Davis

-----Original Message-----
How do I prevent website images from being downloaded and saved by viewers
who use the right click menu?
.
You can't. The best way is to only place small low
resolution images on the internet and worry no more.
 
J

Jeff

You may want to see if there is some javascript that will render the picture.
JS has the ability to disable menu and mouse actions. I know I've been on
site that have stopped me from downloading graphics.
 
T

Tom Pepper Willett

Reality check, Jeff. This is discussed over and over in this newsgroup.
Perhaps you don't hang out or read the posts here ;-)

How do I stop people from downloading my graphics or code?

http://www.jamesshuggins.com/h/web1/how_do_i_stop_downloading.htm

http://www.jimcoaddins.com/protect.htm
--
===
Tom "Pepper" Willett
Microsoft MVP - FrontPage
---
About FrontPage 2003:
http://office.microsoft.com/home/office.aspx?assetid=FX01085802
FrontPage 2003 Product Information:
http://www.microsoft.com/office/frontpage/prodinfo/default.mspx
Understanding FrontPage:
http://msdn.microsoft.com/office/understanding/frontpage/
===
| You may want to see if there is some javascript that will render the
picture.
| JS has the ability to disable menu and mouse actions. I know I've been on
| site that have stopped me from downloading graphics.
|
| "Armin" wrote:
|
| > How do I prevent website images from being downloaded and saved by
viewers
| > who use the right click menu?
 
B

Bob Lehmann

It may have stopped *you*. But, if you had the brain capacity exceding that
of a hamster, you could easily work around these magical scripts.

Bob Lehmann
 
B

Bob Lehmann

Well, yeah. But what's with this profiling. What's his beef with
right-clickers? Some of my best friends are right-clickers.

I mean really - shouldn't he at least be an Equal Opportunity Dumbass?

Bob Lehmann

"Rob Giordano (aka: Crash Gordon®)" <[email protected]>
wrote in message Bob...are you trying to say; 'fergit it' ?


| Why are you just picking on the right-clickers?
|
| What about the left-click drag and droppers?
| What about the IE6 Image Bar hover and save people?
| What about the cache scavengers?
| What about the ALT | Print Screen folks and the View | Source get-the-url
| crowd?
|
| Bob Lehmann
|
| | > How do I prevent website images from being downloaded and saved by
viewers
| > who use the right click menu?
|
|
 
A

Andrew Murray

when you view a site, images are downloaded and saved, so the answer to your
question is "you cant'" since it is a function of the web browser to do so.

The right click function(s) that you see around can be overridden and hacked.
There is no fool-proof way to prevent copying of images.
 
G

George Hester

Just disable right-clicking:

<body oncontextmenu="return false;">

This only works in IE and it doesn't protect your images from anything. All
it does is disable right-clicking in IE.
 
K

Kevin Spencer

Darn. Looks like I missed the party this weekend. :(

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Neither a follower
nor a lender be.
 
M

Murray

Yeah. The potluck was great (although those swedish meatballs went a little
too fast for me).
 
S

Steve Easton

This also disables the ability to right click and create a shortcut. Among other things.


--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
........................with a computer
 
K

Kevin Spencer

I leave as soon as I see it. What good is information that comes from an
uninformed source?

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Neither a follower
nor a lender be.

"Rob Giordano (aka: Crash Gordon®)" <[email protected]>
wrote in message I hate when people do that...I use shortcuts all the time...so I just leave
the site cause I'm pissed...I suspect a lot of people will just leave.


| This also disables the ability to right click and create a shortcut.
Among other things.
|
|
| --
| Steve Easton
| Microsoft MVP FrontPage
| 95isalive
| This site is best viewed............
| .......................with a computer
|
| | > Just disable right-clicking:
| >
| > <body oncontextmenu="return false;">
| >
| > This only works in IE and it doesn't protect your images from anything.
All
| > it does is disable right-clicking in IE.
| >
| > --
| > George Hester
| > _________________________________
| > | > > How do I prevent website images from being downloaded and saved by
viewers
| > > who use the right click menu?
| >
| >
|
|
 
G

George Hester

Wait a minute that asumes if you made a shortcut it would mean anything.
That's like assuming you can make a shortcut to a Form Confirmation page.
Ain't gonna work man. If the page is generated on the fly why not make it
right-click disabled? What I do is have the page with only one image in it.
The <body has the oncontextmenu in it. But for the <img tag I have this:

<img id="oImage" name="oImage" style="visibility: hidden;" />

I cache it and check that it exists:

function image_onerror(){
document.getElementById('oImage').style.display = 'none';
document.getElementById('floattrack').innerHTML = '<center><font
color="#FFFF00" size="+3">Error loading image...</font></center>';
document.write('<font size="4" color="#FFFF00"><center>Cannot find image! -
'+aImage[0].src+' - <%=strPicture%></center></font>');
window.location.replace('<%=astrRoot(0) & strPath1%>');
}

If it don't then I redirect. If it does I display it:

function image_onload(){
var objImage = document.getElementById('oImage');
objImage.src = aImage[0].src;
objImage.style.visibility = 'visible';
floattrack.style.display = 'block';
if (!release)
objImage.galleryImg = 'yes';
else
objImage.galleryImg = 'no';
}

And make it availabe to Right-click Save as...

document.images('oImage').oncontextmenu = image_oncontextmenu;

function image_oncontextmenu(){
window.event.returnValue = true;
window.event.cancelBubble = true;
}

The rest of the page is still off limits to the context menu. That means no
clicking on the navigation links on the page to see where they go. I know
they can read the source. I don't care. As for adding it to favorites it
won't work. The page is login protected and the page is dynamically built.
If you were able to get to just the page without sending parameters well you
can tell from above the page is off limits. Won't work. This is just in
pages that are specific to images. I basically just oncontextmenu false
everyting and then choose what I want to enable it for inside. Remember add
to favorites (with images) is not an issue here because pages with images
cannot be added as favorites even if that was functional..
 
G

George Hester

I never said anything of the sort. I think you were missing the point. The
op knows that he\she cannot keep the images from the client. That's a done
deal Rob. Steve Easton said, "[t]his also disables the ability to right
click and create a shortcut. Among other things." You then agreed with
him, "I hate when people do that...I use shortcuts all the time...so I just
leave the site cause I'm pissed...I suspect a lot of people will just
leave." I guess I thought you meant save it as a Favorite as a shortcut.
Oh well my mistake then. No shortcuts to the page as I showed you either.

My point was why not make the page have a disabled context menu if the
shortcut would never work in the first place? Like I said that would mean
you were upset with Form Confirmation pages or Secure sites. Because you
cannot save them as a shortcut. You still have to go through the logon
process.

--
George Hester
_________________________________
"Rob Giordano (aka: Crash Gordon®)" <[email protected]>
wrote in message I think you may be missing the point.

Try your method, post the url and I bet you anyone here will have the image
downloaded in less time then it would take to read your last post.


| Wait a minute that asumes if you made a shortcut it would mean anything.
| That's like assuming you can make a shortcut to a Form Confirmation page.
| Ain't gonna work man. If the page is generated on the fly why not make it
| right-click disabled? What I do is have the page with only one image in
it.
| The <body has the oncontextmenu in it. But for the <img tag I have this:
|
| <img id="oImage" name="oImage" style="visibility: hidden;" />
|
| I cache it and check that it exists:
|
| function image_onerror(){
| document.getElementById('oImage').style.display = 'none';
| document.getElementById('floattrack').innerHTML = '<center><font
| color="#FFFF00" size="+3">Error loading image...</font></center>';
| document.write('<font size="4" color="#FFFF00"><center>Cannot find
image! -
| '+aImage[0].src+' - <%=strPicture%></center></font>');
| window.location.replace('<%=astrRoot(0) & strPath1%>');
| }
|
| If it don't then I redirect. If it does I display it:
|
| function image_onload(){
| var objImage = document.getElementById('oImage');
| objImage.src = aImage[0].src;
| objImage.style.visibility = 'visible';
| floattrack.style.display = 'block';
| if (!release)
| objImage.galleryImg = 'yes';
| else
| objImage.galleryImg = 'no';
| }
|
| And make it availabe to Right-click Save as...
|
| document.images('oImage').oncontextmenu = image_oncontextmenu;
|
| function image_oncontextmenu(){
| window.event.returnValue = true;
| window.event.cancelBubble = true;
| }
|
| The rest of the page is still off limits to the context menu. That means
no
| clicking on the navigation links on the page to see where they go. I know
| they can read the source. I don't care. As for adding it to favorites it
| won't work. The page is login protected and the page is dynamically
built.
| If you were able to get to just the page without sending parameters well
you
| can tell from above the page is off limits. Won't work. This is just in
| pages that are specific to images. I basically just oncontextmenu false
| everyting and then choose what I want to enable it for inside. Remember
add
| to favorites (with images) is not an issue here because pages with images
| cannot be added as favorites even if that was functional..
|
| --
| George Hester
| _________________________________
| | > I leave as soon as I see it. What good is information that comes from an
| > uninformed source?
| >
| > --
| > HTH,
| > Kevin Spencer
| > .Net Developer
| > Microsoft MVP
| > Neither a follower
| > nor a lender be.
| >
| > "Rob Giordano (aka: Crash Gordon®)"
<[email protected]>
| > wrote in message | > I hate when people do that...I use shortcuts all the time...so I just
| leave
| > the site cause I'm pissed...I suspect a lot of people will just leave.
| >
| >
| > | > | This also disables the ability to right click and create a shortcut.
| > Among other things.
| > |
| > |
| > | --
| > | Steve Easton
| > | Microsoft MVP FrontPage
| > | 95isalive
| > | This site is best viewed............
| > | .......................with a computer
| > |
| > | | > | > Just disable right-clicking:
| > | >
| > | > <body oncontextmenu="return false;">
| > | >
| > | > This only works in IE and it doesn't protect your images from
| anything.
| > All
| > | > it does is disable right-clicking in IE.
| > | >
| > | > --
| > | > George Hester
| > | > _________________________________
| > | > | > | > > How do I prevent website images from being downloaded and saved by
| > viewers
| > | > > who use the right click menu?
| > | >
| > | >
| > |
| > |
| >
| >
|
|
 
Top