Web page help....

krossfyter

macrumors 601
Original poster
Jan 13, 2002
4,297
0
secret city
Okay Ive been asked to do web sites for 2 world renowned artists. My concern is of protecting thier images so that they cant be taken from the site and used for thier own profit etc. etc. Now I know these images would be low res in the first place since these are on the net and need to be compressed but I hear this still can be a problem. Is this true? I have heard that a solution to this problem would be to position the web page in quarters, so that if any one attempts to pirate the image, the computer notifies the owner of the web page. Is this true and how is this done... is it easy or hard and where do I go to get such script or whatever?
 

edesignuk

Moderator emeritus
Mar 25, 2002
19,082
1
London, England
Take a look here, it costs but is supposed to be very good, you could also use a no right click JavaScript, but these scripts don't work in all browsers, especially Mac ones, however they do work effectivly on PC browsers.
 

Mr. Anderson

Moderator emeritus
Nov 1, 2001
22,408
0
VA
The only problem with that is doing a screen capture - you can't keep people from doing that - the only way to prevent that sort of thing from happening is to put a water mark on the image - like the PhotoCD and other on line image services do.

D
 

edesignuk

Moderator emeritus
Mar 25, 2002
19,082
1
London, England
This is the best no right click I have found:
Code:
<script language="JavaScript1.2">
if (window.Event)
document.captureEvents(Event.MOUSEUP);
function nocontextmenu()

{
event.cancelBubble = true
event.returnValue = false;
return false;
}

function norightclick(e)
{
if (window.Event)
{
if (e.which == 2 || e.which == 3)
   return false;
}
else 
  if (event.button == 2 || event.button == 3)
  {
   event.cancelBubble = true

   event.returnValue = false;

   return false;
  }
}

document.oncontextmenu = nocontextmenu;
document.onmousedown = norightclick;
</script>
 

macktheknife

macrumors 6502a
Jan 24, 2002
639
0
One way I have seen other websites do it is have a viewable but small picture linked to the larger picture. You can see the small image file but without too much details. When you click on the link for the larger file, the larger file will have this "watermark" of sorts saying something like "X Company" written across the image.
 

Choppaface

macrumors 65816
Jan 22, 2002
1,187
0
SFBA
you can do URL burn-ins on the image, but basically people will get around whatever you're trying to do some way or another. a good idea might be too encorporate the page's design elements into the pictures so they look funny elsewhere. otherwise, you'd prolly be better off using something like anti-leech or a proggie of your own so at least people won't be stealing your bandwidth (well, at least not without a lot of hassle)
 

krossfyter

macrumors 601
Original poster
Jan 13, 2002
4,297
0
secret city
hmmm... very good advice guys. im not surprised. thats why i come to you all for these sorts of things. i knew i could count on the macrumors gange... rock!

but yeah so im going to try a combonation of that no right click script and a watermark. is this possible? where does one put that script? for the watermark could i just do that in photoshop or do i need some special app to do that in?


thanks again guys. ;)
 

macktheknife

macrumors 6502a
Jan 24, 2002
639
0
Originally posted by krossfyter
but yeah so im going to try a combonation of that no right click script and a watermark. is this possible? where does one put that script? for the watermark could i just do that in photoshop or do i need some special app to do that in?
Yup. Photoshop will work just fine. Just add an extra layer on top of the photo by putting a text box. You can just type "Property of X, Y, Z" and even change the color to a light gray so that while it is noticable, it's not offensively screaming in the viewer's face. BTW, even if you can get a script to not allow users to right-click on an image, a user can retrieve it from his or her browser's cache.
 

edesignuk

Moderator emeritus
Mar 25, 2002
19,082
1
London, England
Originally posted by krossfyter
hmmm... very good advice guys. im not surprised. thats why i come to you all for these sorts of things. i knew i could count on the macrumors gange... rock!

but yeah so im going to try a combonation of that no right click script and a watermark. is this possible? where does one put that script? for the watermark could i just do that in photoshop or do i need some special app to do that in?


thanks again guys. ;)
Just watermark each image in PS before you insert it into your webpage, and pop the no right click JavaScript in the <head> tags of your webpages.
 

edesignuk

Moderator emeritus
Mar 25, 2002
19,082
1
London, England
Originally posted by macktheknife

BTW, even if you can get a script to not allow users to right-click on an image, a user can retrieve it from his or her browser's cache.
Actually if you include this META tag the page should not be cached:
Code:
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
 

macktheknife

macrumors 6502a
Jan 24, 2002
639
0
Originally posted by verbose101

Actually if you include this META tag the page should not be cached:
Code:
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
Awesome! My bad . . .
 

krossfyter

macrumors 601
Original poster
Jan 13, 2002
4,297
0
secret city
Good.

Help me out here on something else ... if possible...
Im looking for a script to do this...
(Its very basic)

The viewer is able to click on some text or a button and it would bring up a seperate scrollable window over the page one has click the text on. I know I could do this with dreamweaver (its a behavior) but It only does it for IE 5+ and NN 6 browsers. I need something that works for most all NN and IE at least. Anything you all can point me to will be helpful... like a link to the scrip or just post the script...whatver.... as long as its free. Free dhtml man. Thanks.
 

krossfyter

macrumors 601
Original poster
Jan 13, 2002
4,297
0
secret city
Originally posted by verbose101
Are you saying you just want a text or picture link to open a new window with what ever you choose in it?
Basically yes. But I want the window to be smaller in size to the one that has the text you click on. Thats why I called it a pop up window. And yeah I want to put images and such in it.
 

edesignuk

Moderator emeritus
Mar 25, 2002
19,082
1
London, England
You need to use the JavaScript function window.open(), it has many different things you can configure, such as what toolbars are opened with it, what size, it's title etc. Best advice is to do a search on google for it and there will be many places that can give a full explination.
 

macktheknife

macrumors 6502a
Jan 24, 2002
639
0
Try this:

Here's a simple way to create a pop-up window when a user clicks on an image. Insert the following lines somewhere in the HTML document:

Code:
<a href="#" onClick="window.open('page.html', 'insert name here',
'width=500,height=400,scrollbars=yes,resizable=yes,status=yes');">
<img src="image.gif"></a>

The "page.html" could be replaced by an image if you so wish. The width and the height are expressed in pixels and can be changed. You can have the pop-up window have no scrollbars or no resize option by changing "yes" to "no".

You can also do it by defining a function that will open the window. First, insert the following lines somewhere in the HTML document:

Code:
<script language="JavaScript">
function openWindow() {
window.open("page.html", "insert name here",
"width=500,height=400,scrollbars=yes,resizable=yes,status=yes");
}
</script>
Now you will need to call the function when a user clicks on your link. Try this:

Code:
<a href="JavaScript:openWindow('page.html');">
<img src="image.gif"></a>
I've previewed this post, and for some reason, "JavaScript" in the last chunk of code is displayed as "java script." Use "JavaScript" (no spaces). Hope this helps . . .
 

Choppaface

macrumors 65816
Jan 22, 2002
1,187
0
SFBA
when I said URL burn-in, I meant what most people here have called a watermark. it was my impression that a watermark was something in the image file that screwed up the image whenever it wasn't viewed where it's supposed to or something like that....


Originally posted by verbose101

Actually if you include this META tag the page should not be cached:
Code:
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
the browser won't cache the page, but the user will still be able to save the image. moreover, the no right click script is useless against those who are smart enough to know how to turn off javascript, or save the page and go look for the images in the saved file's images folder :D
 

macktheknife

macrumors 6502a
Jan 24, 2002
639
0
Originally posted by Choppaface
the browser won't cache the page, but the user will still be able to save the image. moreover, the no right click script is useless against those who are smart enough to know how to turn off javascript, or save the page and go look for the images in the saved file's images folder :D
Yeah, in the end, if a file is on the computer, it's on the computer. You can only use URL burns or "watermarks" to make your images less easy to copy.
 

Rags

macrumors member
Aug 27, 2002
55
0
A watermark is your best bet :) Just to give you a moment of pause, disabling right-click will often times annoy those that use it to bring up a menu to, say, bookmark the page, to go back, to go forward, etc. rather than using their keyboard or buttons on their browser.
 

RBMaraman

macrumors 65816
Jul 25, 2002
1,210
13
Louisville, KY
Re: Web page help....

Originally posted by krossfyter
Okay Ive been asked to do web sites for 2 world renowned artists. My concern is of protecting thier images so that they cant be taken from the site and used for thier own profit etc. etc. Now I know these images would be low res in the first place since these are on the net and need to be compressed but I hear this still can be a problem. Is this true? I have heard that a solution to this problem would be to position the web page in quarters, so that if any one attempts to pirate the image, the computer notifies the owner of the web page. Is this true and how is this done... is it easy or hard and where do I go to get such script or whatever?
Maybe these 2 artists should have someone professional design their websites. If they are this concerned, I would suggest using a professional web designer that specializes in websites for artists.
 

Gus

macrumors 65816
Jan 1, 2002
1,078
0
Minnesota
Ummm..

Am I missing somthing here, or couldn't he just put it in his link tag?

<A HREF="yourimage.jpg" TARGET="blank">Click Here...</A>


or

<A HREF="yourpage.html" TARGET="blank">Click Here...</A>


Just curious as to if I am misunderstanding what he wants...

Gus
 

Choppaface

macrumors 65816
Jan 22, 2002
1,187
0
SFBA
Re: Ummm..

Originally posted by Gus
Am I missing somthing here, or couldn't he just put it in his link tag?

<A HREF="yourimage.jpg" TARGET="blank">Click Here...</A>


or

<A HREF="yourpage.html" TARGET="blank">Click Here...</A>


Just curious as to if I am misunderstanding what he wants...

Gus
that will still allow the user to do whatever they want with the image (in fact, it will be even easier for them to steal their pix, as they can just download the link :D :D)

BTW, don't forget the leading underscore, "_blank" :D :D