|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Member (8 bit)
Join Date: Oct 2001
Location: ottawa, ontario
Posts: 183
|
Web graphic copyrights
Hi all,
How to make graphics on a website so that no one can copy or save them. Thanks |
|
|
|
|
|
#2 |
|
Moderator
Staff
Premium Member
Join Date: Aug 2003
Location: Richmond, VA
Posts: 7,835
|
It is impossible to do so. However, you can try to keep them from copying it and that is by using JavaScript to do an alert everytime someone right clicks on a page. One can easily go around that by going to the source code and going to the image directly - the JPEG extension and then copy and paste.
kram
__________________
"For today, goodbye. For tomorrow, good luck. And forever, Go Blue!"
University of Michigan President Mary Sue Coleman |
|
|
|
|
|
#3 |
|
Member (8 bit)
Join Date: Oct 2001
Location: ottawa, ontario
Posts: 183
|
Thanks for the answer kram8806,
That's what I thought. I just read another post on this. Daisie |
|
|
|
|
|
#4 |
|
Barefoot on the Moon!
Staff
Premium Member
Join Date: Aug 2002
Location: Northeastern USA
Posts: 13,385
|
A new technique I found-- with tables or CSS or both, with layering, but a transparent 1x1 spacer (and stretched with HTML to the size of the "real" image) over the image you wish to prevent from being copied.
__________________
There are two secrets to staying young, being happy, and achieving success. You have to laugh and find humor every day, and you have to have a dream.
|
|
|
|
|
|
#5 |
|
Moderator
Staff
Premium Member
Join Date: Aug 2003
Location: Richmond, VA
Posts: 7,835
|
That's a pretty smart idea FF - didn't think of that. However, unless you use some databasing language that would physically restrict the access of the picture unless just shown on the webpage (much like Webshots is - you can't access the JPF file alone), it is impossible to prevent someone from taking the picture. That being said, what FF said would work for almost 99% of the time - the 1% being the person who goes into the source code, physically looks for the .jpg file, and accesses the picture file only. The chances of that happening are pretty small, though, given that google doesn't get to your site
![]() kram |
|
|
|
|
|
#6 | |
|
Member (10 bit)
|
Quote:
http://www.1javastreet.com/vb/script...=2029&lngWId=2 - thats the first site I googled for. There are other variants but I don't think I've seen any other scripting language to do it in. Probably stuck with JS, but you can indeed disable picture saving from a browser (ie at least). |
|
|
|
|
|
|
#7 | |
|
Member (10 bit)
|
Quote:
|
|
|
|
|
|
|
#8 |
|
Member (8 bit)
Join Date: Jun 2004
Posts: 220
|
Can't you take screen shot of your screen and cut out the picture in paint?
|
|
|
|
|
|
#9 |
|
Member (10 bit)
|
Yup. Theres unfortunately no way of getting around that. And all you need is MS-Paint to do it. However, youd have have to crop, and edit the image to get the image as it is. So atleast its not as easy as right clicking and clicking "save target as". Still not the best deterrant around.
Thats why most sites that host images include the website logo or image into the image: the best way is to include a semi-transparent image or url over the image itself, so it can't be edited out. |
|
|
|
|
|
#10 | |
|
Moderator
Staff
Premium Member
Join Date: Aug 2003
Location: Richmond, VA
Posts: 7,835
|
Quote:
kram |
|
|
|
|
|
|
#11 |
|
Staff
Premium Member
Join Date: Sep 2004
Location: Cardiff, Wales. UK
Posts: 6,105
|
I have a Java Script that will disable the right mouse click, it is not going to stop people downloading the pictures but it might deter some of the not so HTML savvy ones.
If they right click on the page it just says "I am sorry but the images on this web site are copyright protected" and it doesn't give them the drop down menu.
__________________
Niwa no niwa ni wa, niwa no niwatori wa niwaka ni wani o tabeta. Last edited by rjfvillarosa; 11-28-2004 at 01:33 PM. |
|
|
|
|
|
#12 | |
|
Moderator
Staff
Premium Member
Join Date: Aug 2003
Location: Richmond, VA
Posts: 7,835
|
Quote:
kram |
|
|
|
|
|
|
#13 |
|
Staff
Premium Member
Join Date: Sep 2004
Location: Cardiff, Wales. UK
Posts: 6,105
|
Kram.... as has been said already you are never going to stop the more savvy ones, but with a bit of luck you might be able to deter the casual theft.
I did try to post the code but I would have had to change too much of it to get it to display. If any body wants it pm me and I will send it to you. |
|
|
|
|
|
#14 |
|
Moderator
Staff
Premium Member
Join Date: Aug 2003
Location: Richmond, VA
Posts: 7,835
|
Straight out of Dynamic Drive:
PHP Code:
kram Last edited by kram 2.0; 11-28-2004 at 01:55 PM. |
|
|
|
|
|
#15 |
|
Staff
Premium Member
Join Date: Sep 2004
Location: Cardiff, Wales. UK
Posts: 6,105
|
No Kram the one I have I wrote myself a few years ago, but looking at that one there is not a lot of difference, EXCEPT.... mine has my name in it....
|
|
|
|
|
|
#16 | |
|
Moderator
Staff
Premium Member
Join Date: Aug 2003
Location: Richmond, VA
Posts: 7,835
|
Quote:
![]() kram |
|
|
|
|
|
|
#17 |
|
Staff
Premium Member
Join Date: Jul 1999
Location: Arlington, TN
Posts: 5,538
|
You can give up trying to protect images. It is fruitless. All of the above listed things can be bypassed in a few seconds. Best to keep them small or have a copyright watermark that can't be edited out easily. This is certainly not practical for images that are part of the page design. You can put a no right click that is only a warning. I do like the one that when you right-click tells you that you are going to reformat your hard drive. Kind of funny.
__________________
Want to Make $$$$ with your Computer? No Risk! Simply press shift-4 four times in a row |
|
|
|
|
|
#18 |
|
Staff
Premium Member
Join Date: Sep 2004
Location: Cardiff, Wales. UK
Posts: 6,105
|
This is the one I wrote a few years ago, it's a bit old now and by the way it doesn't work in Firefox. I suppose I could change it but it doesn't seem worth the effort.
PHP Code:
Last edited by rjfvillarosa; 11-28-2004 at 07:24 PM. |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|