PHP Developers Network

A community of PHP developers offering assistance, advice, discussion, and friendship.
 
Loading
It is currently Sun Aug 09, 2020 6:25 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: [solved]image question
PostPosted: Thu Jun 09, 2005 11:23 am 
Offline
Forum Contributor

Joined: Fri Feb 25, 2005 5:03 am
Posts: 193
im not sure if this is the right section for this but

how can i stop any right click options or that little box that appears over an image that lets the users copy or save the image?

cheers

rj


Last edited by rubberjohn on Sun Jun 12, 2005 7:37 am, edited 1 time in total.

Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 09, 2005 11:49 am 
Offline
DevNet Resident
User avatar

Joined: Sat Dec 06, 2003 10:52 pm
Posts: 1679
Location: Mumbai, India
At the most you can use Javascript to disable right-clicking and copying the image. Nothing more to my knowledge.

1. But if they temporarily disable their browser's Javascript feature they can right click and copy it.
2. If the user doesnt disable Javascipt then he just hit the print screen and paste it in MS Paint.
3. Your image will be stored in your PC's cache for the browser to show it - he can copy from there too.

You cannot have a full proof method to stop people from copying images shown on your page.


Last edited by anjanesh on Thu Jun 09, 2005 12:01 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 09, 2005 11:51 am 
Offline
DevNet Resident
User avatar

Joined: Tue Jan 20, 2004 5:58 pm
Posts: 1537
Location: Minnesota
There are javascript solutions for this:

http://javascript.internet.com/page-det ... click.html

http://www.google.com/search?q=javascri ... S:official

They don't work well. I've never seen one that claimed to b 100%. It's impossible to prevent images from being saved. They are after all downloaded in the first place so the person can view them. So if they really wanted them they could just go digging in their cache directory. That's why sites like corbis, geddy images use watermarks.

Hope this helps


Top
 Profile  
 
 Post subject: what about....
PostPosted: Fri Jun 10, 2005 8:44 am 
Offline
Forum Contributor

Joined: Fri Feb 25, 2005 5:03 am
Posts: 193
thanks for that

someone else told me that it may be possible with css,im not sure how but i'll look into it


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group