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 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!
Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-20-2009, 12:23 AM
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 06:17 PM.
Reply With Quote
  #2 (permalink)  
Old 02-20-2009, 12:03 PM
ishkey's Avatar
Moderator
 
Join Date: Aug 2007
Location: North GA USA
Posts: 1,360
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.
__________________
RIF= Reading Is Fun - Understanding Funner
cleandeck - lawn mower undercoating and wilmargraphite - graphite lubricants
Reply With Quote
  #3 (permalink)  
Old 04-14-2009, 01:24 AM
Member
 
Join Date: Apr 2009
Location: London, UK
Posts: 53
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
__________________
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.
Reply With Quote
  #4 (permalink)  
Old 04-29-2009, 09:26 AM
Junior Member
 
Join Date: Dec 2008
Posts: 3
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, 09:34 AM
CovertPea's Avatar
Moderator
 
Join Date: Dec 2007
Location: Brisbane, Australia
Posts: 1,833
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!
__________________
OF COURSE YOU HAVE MY UNDIVIDED ATT....OOW, LOOK AT THAT PRETTY PIECE OF STRING!!
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 09:09 AM.



mouseover mouseover mouseover