Solved

Watermarking pictures

Posted on 2002-05-08
11
238 Views
Last Modified: 2010-04-06
Is there a way to prevent someone from downloading pictures on to their PC.

I thought of a couple of methods but i'm not sure if it can be done.
1. Prevent someone from being able to right click on a picture (left clicks ok)

2. Show the picture but on download, have it watermarked with our company name

Any help would be appreciated.
Thanks,
Mike


0
Comment
Question by:myuen
11 Comments
 
LVL 15

Expert Comment

by:lyonst
ID: 6997168
Rty this ..

http://javascript.internet.com/page-details/no-right-click.html

<!-- TWO STEPS TO INSTALL NO RIGHT CLICK:

  1.  Copy the coding into the HEAD of your HTML document
  2.  Add the last code into the BODY of your HTML document  -->

<!-- STEP ONE: Paste this code into the HEAD of your HTML document  -->

<HEAD>

<SCRIPT LANGUAGE="JavaScript1.1">
<!-- Original:  Martin Webb (martin@irt.org) -->

<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->

<!-- Begin
function right(e) {
if (navigator.appName == 'Netscape' &&
(e.which == 3 || e.which == 2))
return false;
else if (navigator.appName == 'Microsoft Internet Explorer' &&
(event.button == 2 || event.button == 3)) {
alert("Sorry, you do not have permission to right click.");
return false;
}
return true;
}

document.onmousedown=right;
document.onmouseup=right;
if (document.layers) window.captureEvents(Event.MOUSEDOWN);
if (document.layers) window.captureEvents(Event.MOUSEUP);
window.onmousedown=right;
window.onmouseup=right;
//  End -->
</script>
</HEAD>

<!-- STEP TWO: Copy this code into the BODY of your HTML document  -->

<BODY>

<center>[ Try right-clicking the image and then the text link below ]
<p>
<img src="http://javascript.internet.com/img/tjsbutton.gif">
<p>
<a href="http://javascript.internet.com">Text Link</a>

<p><center>
<font face="arial, helvetica" size="-2">Free JavaScripts provided<br>
by <a href="http://javascriptsource.com">The JavaScript Source</a></font>
</center><p>

<!-- Script Size:  1.57 KB -->

Cheers,

T.
0
 
LVL 15

Expert Comment

by:lyonst
ID: 6997176
Sorry but I don't think this option will work.

2. Show the picture but on download, have it watermarked with our company name

Cheers,

T.
0
 
LVL 1

Author Comment

by:myuen
ID: 6997250
Hi Lyonst.

Thanks for your quick reply.  Do you know of any other methods?  My fear is if someone disables javascript in their browser.

Can you suggest any other ways?

Thanks for your help.
myuen
0
 
LVL 15

Accepted Solution

by:
lyonst earned 50 total points
ID: 6997319
Thanks,

Here is a link to some good solutions / alternatives..

http://graphicdesign.about.com/library/weekly/aa041201a.htm

I will have another look tomorrow.

heers,

T.
0
Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

 
LVL 15

Expert Comment

by:lyonst
ID: 6997326
Another good article for you to look at ..

http://www.cre8pc.com/scam_protectsite.html

T.
0
 
LVL 4

Expert Comment

by:victorus
ID: 6997509
Here is an electronic solution for professionals:
http://digimarc.com/
You do not need to register with digimarc to add these to your images. Many programs (I use Paint Shop Pro) have the ability to add the information to the image file using the technology of Digimarc without registration.

With all of the "CAPTURE" capabilities anyone can capture a screenfull from the web without any protection. If you want you can show small thumbnails of your pics and link them to the download versions with visible watermarks that you can add using many image processing programs.

The JAVAScript reply by lyonst works well for the novice photo stealer on the web. Another option would be to have a JAVAScript to swap images on download, or display a copyright notice, but both of these can be foiled with a screen capture program.
0
 
LVL 1

Expert Comment

by:joe509
ID: 7004435
Heres a trick that I used on my site, (apart from preventing rightclick as part of behaviours in Dreamweaver), you can edit your image by cutting it up into squares about a tenth of the size of the original the benefits are that the image appears (the key word there is appears) to load quicker on users computers, and also your image appears as ten fragments in that users temporary internet files -yes if someone wants your pic bad enough they can access their temp files folder and extract it that way- your pic will appear as a ten piece fragmented image ont heir harddrive.
  The bother of sticthing it will for most, outweigh the desire to steal your image.
It is tedious stuff but if images are your bread & butter then youll do anything to keep your profits up. I fyour using Photoshop then you can make an action to chop up your image into parts.

 Oh actually incidentally there is another option which I saw someone using recenly how it works on the back end I dont know but the image appears on the users computer as a streamed image in java -i know nothing about java, only that you cant copy it or even do screen grabs but I suspect that its a streaming media protocol, which is insuitable for statice htm pages.

  Ok well I hope the image chopping method does for you what its done for me.

joe
0
 
LVL 1

Expert Comment

by:joe509
ID: 7004448
incidentally if you are a company and have images to be secured then you really ought to invest in a copy of photoshop even if it be a second hand older copy from ebay or whatever, there are ways to secure images without having to spend money on places like digimarc who will charge you per licence whereas a software solution is pay once-off.

How to do it in photoshop, scan a copy of your company logo and name save it as a .psd file desaturate it use magic wand to remove the white background so that its clear then on the layers pallette set the opacity level to 50% or thereabouts (depending on how visible you want your id to be seen), and save it, save a couple of copies at different sizes for different sizes of images, how to apply them? Open your image of choice in photohop on the security image hit Ctrl+A and then Ctrl+C then on the image to get the security hit Ctrl+V and itll be pasted on top of your image, hit layers merge or flatten image and save for the web, this will do the trick.

  If you need someone to make up the secrutiy image send me your company logo and Ill make up a few for you at different sizes.

Joe
0
 
LVL 2

Expert Comment

by:InnerChild
ID: 7345574
I think the eaiest way is to simpley put the image through flash.  A person cannot download a .swf so the only thing they can do is make a screencaption.  This will work fine I believe if your not looking to have it as a background image.

Good Luck
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Many programs have tried to outwit PowerPoint in terms of technology and skill. These programs, however, still lack several characteristics that PowerPoint has possessed from the start. Here's why PowerPoint replacements won't entirely work for desi…
Technology opened people to different means of presenting information, but PowerPoint remains to be above competition. Know why PPT still works today.
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…
In addition to being a great web-based presentation tool, Prezi also makes it easy to save your presentation as a PDF to share with others as well. Learn how in this tutorial. Select the share icon from the top menu in your Prezi editor: Select "D…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now