>>Hi,
>>
>>I was looking at some wedding pictures of a friend of mine (his son) posted by the company that took the photographs. Obviously they don't want people to download pictures but instead buy them. So when you right mouse click on any of the pictures you don't see the option of Save Picture As or Save Target As. How do they technically do it? What is the HTML code for having a picture but no ability for someone to download it?
>
>I don't know for sure, but I would suspect that browser events - like right-click - are intercepted with JavaScript commands. Try it in different browsers - it may be that that code only works with specific browsers. You may also be able to turn off JavaScript, in the browser options.
I don't have another browser installed (I should probably). But I suspect that the people who designed the site use the approach that will work in every browser. The thing is they do not intercept the right mouse click (as I see all other items on the right-mouse click menu). But the items like Save Picture and Save Target As are missing (and not even grayed).
I suspect that the designer of that site present the picture not as a picture but as some other "entity." So that the browser does not recognize it as a picture and therefore does not show items for a picture.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham