|
|||||||
Join now to download all the free website templates or post on the forum. If you have never been on a forum before read the
FAQ. It's quick, easy and free to join!
|
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
||||
|
Please post smaller screen shots next time.
To answer your question - you can not in css/html. As it is on the client side.
__________________
cleandeck - lawn mower undercoating and wilmargraphite - graphite lubricants |
|
|||
|
there are many ways to save an image from a web page.
right-click --> save turn off right-click: <img src="..." onContextMenu="return false" /> drag into address bar --> save turn off dragging: <img src="..." onDragStart="return false" /> (this one wont work in firefox, there is another way to do it in firefox) hover over image --> save with microsoft's image toolbar turn off image toolbar: <img src="..." galleryimg="no" /> print screen --> paste in image software --> save err...thats more complicated. you'd need a key listener. of course, it would be a lot easier if you displayed the image in a java applet. you could stop any way of saving it. but thats for a different forum :P
__________________
If you were happy with my work and want to show your gratitude, please visit the link below and make even a small donation, securely with paypal or otherwise: http://www.justgiving.com/osmanilyas I will be taking part in an attempt to break the guinness world record for the "Most People Running in a 24 Hour Relay" and help raise a minimum of £400,000 for Save the Children's Gaza Appeal. Any amount sponsored is appreciated. £3.50 could buy a food package for a person for 2 weeks. |
|
|||
|
Adding watermarks is the only way to prevent people from using your image as their own, as r_t says. Or at least to discourage them, because if someone really wants the picture, a bit of image manipulation will clean it up just fine.... Still they will make the job tougher and discourage most users - just be careful to not make watermarks too obtrusive, as they can detract from the overall impression your image gives.
If you insert the image into the css code as a background, instead of inserting it in HTML as 'img src', people will not have the option to save it on right-click - so you don't need any special code to disable the right-click option. But don't forget that if people really want an image, they will either save the file (again as r_t pointed out) or will simply press the 'print screen' button and save the image that way..... so the only way to truly protect something is not to put it on the web. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|