Cancel Left-Click Options

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

Guest

Hi there,
I was wondering how to stop the user from being able to left-click on a
picture and being able to save it or anythings... there should be no options
of left-clicking a picture

how would i do that??
thanks
 
You can disable the right-click operation that shows the save image item
through javascript. There are lots of these at javascript.internet.com and
www.dynamicdrive.com. If you're trying to bullet-proof safeguard your
images, this doesn't protect the image because it actually exists on their
computer in their temporary internet folders. Not to mention all they have
to do is tkae a screenshot of their browser than they can get the picture
right out of the clipboard.

Hope this helps,
Mark Fitzpatrick
Microsoft MVP - FrontPage
 
It's ok if they take a screen-shot of the images... my only problem is that i
say that all images are j-pegs when some are bitmaps or whatever...
I just don't want them to be able to right-click and go to save as, and see
that it is really not jpeg..
i'll go look at the website you gave now to find some code..
thanks
 
You're wasting your time. The right-click context menu is only one of dozens
of ways to save images and/or find out information about them. Not only
that, but disabling right-click marks your web site as having been developed
by an amateur, effectively driving people AWAY from your site.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Neither a follower nor a lender be.
 
Back
Top