M
moondaddy
I have images that I need to prevent the user from doing a right click and
selecting "Save Picture As"? How can I do this?
selecting "Save Picture As"? How can I do this?
Alvin Bruney said:you cannot prevent it. you may take steps to make it more difficult but
there are always ways to get the picture. i'd suggest you copyright the
picture. if this doesn't work for you, handle the oncontextmenu event from
javascript which fires off when the right mouse button is clicked. there
won't be a menu so the picture won't be saved....for the most part.
a savvy user can always capture the entire screen and use paint to obtain
just the required pieces.
Peter Rilling said:Or you can just turn off JavaScript and the context menu will always be
shown. Or you can view the document source, get the image URLs and navigate
the browser to them directly. Point being that it is not hard to get around
the programmatic restrictions.
In the end, it may be more trouble then it is worth to restrict the
downloading of the images. What you might do is place some kind of
watermark on the images to make it more difficult for the person to use on a
non-legitimate way.
Alvin Bruney said:you cannot prevent it. you may take steps to make it more difficult but
there are always ways to get the picture. i'd suggest you copyright the
picture. if this doesn't work for you, handle the oncontextmenu event from
javascript which fires off when the right mouse button is clicked. there
won't be a menu so the picture won't be saved....for the most part.
a savvy user can always capture the entire screen and use paint to obtain
just the required pieces.
--
Regards,
Alvin Bruney [ASP.NET MVP]
Got tidbits? Get it here...
http://tinyurl.com/3he3b
moondaddy said:I have images that I need to prevent the user from doing a right click and
selecting "Save Picture As"? How can I do this?
Kevin Spencer said:Any web site which has right-click disabled is a sign of an amateur web
site. If your clients don't mind having that reputation, go right ahead.
There is simply no way to prevent pictures from being downloaded by the
browser. That is, after all, what a browser does. If you see it in the page,
it's already on your computer.
--
HTH,
Kevin Spencer
.Net Developer
Microsoft MVP
Big things are made up
of lots of little things.
onPeter Rilling said:Or you can just turn off JavaScript and the context menu will always be
shown. Or you can view the document source, get the image URLs and navigate
the browser to them directly. Point being that it is not hard to get around
the programmatic restrictions.
In the end, it may be more trouble then it is worth to restrict the
downloading of the images. What you might do is place some kind of
watermark on the images to make it more difficult for the person to usea
non-legitimate way.
clickAlvin Bruney said:you cannot prevent it. you may take steps to make it more difficult but
there are always ways to get the picture. i'd suggest you copyright the
picture. if this doesn't work for you, handle the oncontextmenu event from
javascript which fires off when the right mouse button is clicked. there
won't be a menu so the picture won't be saved....for the most part.
a savvy user can always capture the entire screen and use paint to obtain
just the required pieces.
--
Regards,
Alvin Bruney [ASP.NET MVP]
Got tidbits? Get it here...
http://tinyurl.com/3he3b
I have images that I need to prevent the user from doing a right
andselecting "Save Picture As"? How can I do this?
moondaddy said:I have images that I need to prevent the user from doing a right click
and selecting "Save Picture As"? How can I do this?
Alvin Bruney said:well i wouldn't go as far as saying it is amateur, i think that is overly
hash. OP probably needs to protect his IP thru copyrighting, that will give
some legal recourse, or the watermark is a good idea, although a good dose
of paintshop pro will remove the watermark.
--
Regards,
Alvin Bruney [ASP.NET MVP]
Got tidbits? Get it here...
http://tinyurl.com/3he3b
useKevin Spencer said:Any web site which has right-click disabled is a sign of an amateur web
site. If your clients don't mind having that reputation, go right ahead.
There is simply no way to prevent pictures from being downloaded by the
browser. That is, after all, what a browser does. If you see it in the page,
it's already on your computer.
--
HTH,
Kevin Spencer
.Net Developer
Microsoft MVP
Big things are made up
of lots of little things.oneventa
non-legitimate way.
"Alvin Bruney [MVP]" <vapor at steaming post office> wrote in message
you cannot prevent it. you may take steps to make it more difficult but
there are always ways to get the picture. i'd suggest you copyright the
picture. if this doesn't work for you, handle the oncontextmenu
fromjavascript which fires off when the right mouse button is clicked. there
won't be a menu so the picture won't be saved....for the most part.
a savvy user can always capture the entire screen and use paint to obtain
just the required pieces.
--
Regards,
Alvin Bruney [ASP.NET MVP]
Got tidbits? Get it here...
http://tinyurl.com/3he3b
I have images that I need to prevent the user from doing a right click
and
selecting "Save Picture As"? How can I do this?
Here is solutions you might try.
1. Javaapplet showing the pictures.
2. Flash to show the pictures.
George Ter-Saakov said:Here is solutions you might try.
1. Javaapplet showing the pictures.
2. Flash to show the pictures.
George Ter-Saakov said:Here is solutions you might try.
1. Javaapplet showing the pictures.
2. Flash to show the pictures.
2. Flash to show the pictures.
George Ter-Saakov said:Here is solutions you might try.
1. Javaapplet showing the pictures.
2. Flash to show the pictures.