Go Back   Free website templates > Web Template Help > HTML - XHTML - CSS
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read


Join now to share 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!
Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-19-2009, 11:23 PM
Junior Member
 
Join Date: Feb 2009
Posts: 3
Morphie is on a distinguished road
Default HTML & CSS fail - how to make image unsavable?

never mind it....

Last edited by Morphie; 02-20-2009 at 05:17 PM.
Reply With Quote
  #2 (permalink)  
Old 02-20-2009, 11:03 AM
ishkey's Avatar
Moderator
 
Join Date: Aug 2007
Location: North GA USA
Posts: 1,753
ishkey will become famous soon enough
Default

Please post smaller screen shots next time.
To answer your question - you can not in css/html. As it is on the client side.
__________________

Consultant - Programmer - WebMaster
cleandeck - lawn mower undercoating
wilmargraphite - graphite lubricants
Reply With Quote
  #3 (permalink)  
Old 04-14-2009, 12:24 AM
Member
 
Join Date: Apr 2009
Location: London, UK
Posts: 54
Osman is on a distinguished road
Default

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
__________________
Free Logo's Guarantee:
Not satisfied with your logo?
Claim 100% of your money back!
Reply With Quote
  #4 (permalink)  
Old 04-29-2009, 08:26 AM
Junior Member
 
Join Date: Dec 2008
Posts: 4
Mansy is on a distinguished road
Default

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.
Reply With Quote
  #5 (permalink)  
Old 04-29-2009, 08:34 AM
CovertPea's Avatar
Moderator
 
Join Date: Dec 2007
Location: Brisbane, Australia
Posts: 2,327
CovertPea is on a distinguished road
Default

Quote:
so the only way to truly protect something is not to put it on the web.
THAT says it all!
__________________
"When you eventually die, will this world have been better or worse off for you having lived in it?"

Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 02:08 AM.



mouseover mouseover mouseover