Cancel Left-Click Options

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
 
M

Mark Fitzpatrick

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
 
G

Guest

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
 
K

Kevin Spencer

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,430
Messages
2,571,676
Members
48,796
Latest member
Greg L.

Latest Threads

Top