| Forums > Tips & Tricks > "hw do i copyright?" (3 replies)
|
|
|
Hi i'm a newbie to all this
i made a blog and i was wondering how do i copyright my images so people can't right click them and save them onto their computer.
Also i have pics on my blog when people click on my images in goes onto it's own page
How do i stop that?
Thank you for you time
-Tasha
|
| |
|
| |
|
| |
There are many ways to disable right clikc on images, but even that will not detour the truely wanting from getting your images. But below is what I use on my site, and it works fairly well.
Add this between the and tags of your HTML.
if (window.addEventListener)
window.addEventListener("load", init, false)
else if (window.attachEvent)
window.attachEvent("onload", init)
else if (document.all)
window.onload=init
var clickmessage="Not Allowed to Save!"
function disableclick(e) {
if (document.all) {
if (event.button==2||event.button==3) {
if (event.srcElement.tagName=="IMG" {
alert(clickmessage);
return false;
}
}
}
else if (document.layers) {
if (e.which == 3) {
alert(clickmessage);
return false;
}
}
else if (document.getElementById){
if (e.which==3&&e.target.tagName=="IMG" {
alert(clickmessage)
return false
}
}
}
function associateimages(){
for(i=0;i
|
| |
| |
|
| |
For some reason, this forum has scripting off, maybe because it doesnt have good security to allow it. Regardless, add the above code between the and tags in you HTML.
|
| |
| |
|
| |
yeah.. dolby is right for the code.. I suggest too.. If you don't want someone to steal your image.. I guess you have to put something [a mark] so that even they steal the image they wouldn't be able to tell that they owned it.. try it in photoshop... =)
|
| Subscribe To This Thread: RSS 2.0 or Atom (?) |
| This thread has been locked, and no new replies can be posted. |