1
Tags:
Blogger,
Blogging
How to create watermark of copyright automatically on images
Posted by
Anonymous on 11/30/2011
Hello everyone
Have you seen this in sites ?
here sample is the watermark
Like this you can make your images with your name or blog's name
Here is what you have to do
Go to blogger->design edit html->find </head>
Before it paste the following code
<script type='text/javascript'>
function addLink() {
var body_element = document.getElementsByTagName('body')[0];
var selection;
selection = window.getSelection();
var pagelink = "<br/><br/> Original from: <a href='"+document.location.href+"'>"+document.location.href+"</a><br/>Copyright Geekspot.in - All Rights Reserved"; // change this if you want
var copytext = selection + pagelink;
var newdiv = document.createElement('div');
newdiv.style.position='absolute';
newdiv.style.left='-99999px';
body_element.appendChild(newdiv);
newdiv.innerHTML = copytext;
selection.selectAllChildren(newdiv);
window.setTimeout(function() {
body_element.removeChild(newdiv);
},0);
}document.oncopy = addLink;
</script>
[Via]
Have you seen this in sites ?
here sample is the watermark
Like this you can make your images with your name or blog's name
Here is what you have to do
Go to blogger->design edit html->find </head>
Before it paste the following code
<script type='text/javascript'>
function addLink() {
var body_element = document.getElementsByTagName('body')[0];
var selection;
selection = window.getSelection();
var pagelink = "<br/><br/> Original from: <a href='"+document.location.href+"'>"+document.location.href+"</a><br/>Copyright Geekspot.in - All Rights Reserved"; // change this if you want
var copytext = selection + pagelink;
var newdiv = document.createElement('div');
newdiv.style.position='absolute';
newdiv.style.left='-99999px';
body_element.appendChild(newdiv);
newdiv.innerHTML = copytext;
selection.selectAllChildren(newdiv);
window.setTimeout(function() {
body_element.removeChild(newdiv);
},0);
}document.oncopy = addLink;
</script>
[Via]
Subscribe To Get FREE Tutorials!

Subscribe to:
Post Comments (Atom)
Share your views...
1 Respones to "How to create watermark of copyright automatically on images"
Thanks....Cool Template...
Post a Comment