If this is your first visit, be sure to check out the FAQ by clicking the link above.
You may have to register before you can post: click the register link above to proceed.
To start viewing messages, select the forum that you want to visit from the selection below.
I told her to make it so that you can right-click save-as all her pictures, but she doesn't know how. Neither do I, and I don't know what it's called so I couldn't google it very well. If anybody knows how it would be awesome. If it helps I think she is using dreamweaver mx.....i'm not 100% sure on that though.
EDIT: It should be CANNOT right-click save-as on the pictures. I want it to give the cute little copyright box or whateva.
__________________
AAAAAAYYYYYYY!
Last edited by BurnMyHeartDown : 05-16-2007 at 02:58 AM.
....okay so maybe we could narrow down everything that doesn't need to be done so we are left with one way of how to accomplish, but that seems a little backwards if people already know.......
you need a javascript to block the right click save-as feature......but honestly the best thing for her would be to put a watermark on the larger photos that spans across the entire photo so she wont get anyone trying to copy them
if she doesn't know how to do and she uses photoshop i'd be more than happy to try and create an action that will automatically do it for her
__________________
R.I.P Shawn "Krazy Hawaiian" McCallister July 11, 1956 - July 23, 2007
We will miss you.
here ya go.......this will work if she uses photoshop.....if you dont know how to get it in photoshop view this Saving and Loading Actions
The action I made should work on most of the pictures she already has on the page the only thing she should need to tweak is possibly the size of the text.
__________________
R.I.P Shawn "Krazy Hawaiian" McCallister July 11, 1956 - July 23, 2007
We will miss you.
Posts: 13,281
Casino Cash: $250
Sportbike: 92 Suzuki GSXR 711 a 1100 engine in a 750 frame
Quote:
Originally Posted by mikem317
But that's not what he's asking to do.
Not only that watermarks always look like shit and ruin good pics.
What Zllnt said sums it up pretty well, the only coding I know of that is almost impossible to rip pics from is php and it isn't a user friendly solution.
here is the java script code.. BUT A WARNING this will only detoure people for taking the pictures. there are still many ways to take them. the only way to truly keep them safe is to not post them in the first place.
good luck with the webpage.
Put the following script in the head of your page:
<script language="Javascript1.2">
// (C) 2003 CodeLifter.com
// Source: CodeLifter.com
// Do not remove this header
// Set the message for the alert box
am = "This function is disabled!";
// do not edit below this line
// ===========================
bV = parseInt(navigator.appVersion)
bNS = navigator.appName=="Netscape"
bIE = navigator.appName=="Microsoft Internet Explorer"
function nrc(e) {
if (bNS && e.which > 1){
alert(am)
return false
} else if (bIE && (event.button >1)) {
alert(your message here)
return false;
}
}
document.onmousedown = nrc;
if (document.layers) window.captureEvents(Event.MOUSEDOWN);
if (bNS && bV<5) window.onmousedown = nrc;
Tell her to put this in the <head> of every page (or if she's actually using Dreamweaver correctly, put it in the .dwt file, even better!)
Note, this only works for Internet Explorer (still over 80% of the Internet) but I'm sure you can google up something that works for Firefox/Mozilla/Netscape, too.
Heh, just tried ballistics, his doesn't work in Firefox either ;)
The only way I know how to make it work in Firefox, is to disable right clicking per image, but that's a pain in the ass.
And you can still view source and download the image individually, anyway.
The only real way you can eliminate that is by putting the files into a Java slideshow/display or possibly Flash. But then, users still can do a screen capture.
The watermarking is the best idea. Also, make the images small, under 640x480, and they're basically unusable for print.
__________________
bzb - SBN's resident DJ
2006 Ducati SuperSport 800 - Carbon fiber fender & heel guards, 14T front sprocket, CA integrated tail light, fender elim, air box mod, cut DP cans, Sargent seat
Not only that watermarks always look like shit and ruin good pics.
What Zllnt said sums it up pretty well, the only coding I know of that is almost impossible to rip pics from is php and it isn't a user friendly solution.
Okay, that's what I thought he meant.
Anyway, you can also prevent right-click, save-as in Mozilla too (as well as other browsers). You could have the JS incorporate a browser boolean and then using an IF statement to direct to the relevant code.
you know all you have to do to get around a script is to put the mouse cursor over the image and then hit the menu button between the right control key and right windows key.....right? then view the source...
__________________
R.I.P Shawn "Krazy Hawaiian" McCallister July 11, 1956 - July 23, 2007
We will miss you.
locking the right click menu in firefox is so much more complicated. i have never had it work sucsessfully. it ether errors out the page or acts like it was never programed in there to begin with.