PDA

View Full Version : EE : downloading pics \"Save Picture As\"


The Storm
4th of May 2003 (Sun), 15:44
Hi all

Ive seen the EE in action an Im impressed.
Its something i would consider paying something towrds
but id like to know how flexible it is.

I'll be using it in "trial-error" hoping that my server :
http://www.easyspace.com

...will support it.

But my main query is :

I would like to share my photos online with others,
my audience will be family from all over the world and
I would like them to be able to download the pics,
from the web site itself. Unfortunately the web sites
Ive seen don't allow me to download the pics, i get an
"information box" instead :
eg "Thank you for using Exhibit Engine 1.3
You are viewing blah blah blah - OK"

Is there anyway to disable this option?

Pls can anyone advise me.

Cheers,
Shaz

NetButch
5th of May 2003 (Mon), 19:56
Remove the following code from your "photo.php" file and you will no longer have right click protection.
Basically this javascript code captures the mouse click and displays a message instead of the usual menu, without the code, mouse clicking will work as usual.

someone correct me if I am wrong.. PLEASE!! :-)

best of luck. Butch


var message="Thank you for using Exhibit Engine \n\nYou are viewing\n\n"; // Message for the alert box

function nosource(b) {
if (document.all) {
if (event.button == 2) {
alert(message);
return false;
}
}
if (document.layers) {
if (b.which == 3) {
alert(message);
return false;
}
}
}
if (document.layers) {
document.captureEvents(Event.MOUSEDOWN);
}
document.onmousedown = nosource;
//