Archive for the ‘4Images Tutorials’ Category
Go to Edit Template > Load Your Theme > Then Load details.html
Open the details.html template
Locate this line in the details.html
{lightbox_button} {postcard_button} {download_button} {download_zip_button}
Remove
{postcard_button}
Don’t Forget to Save Changes at the Bottom
Go to Edit Template > Load Your Theme > Then Load Header.html
Open the header.html template and remove these lines
Don’t Forget to Save Changes at the Bottom
4images V1.7 – 1.7.2
function right(e) {
if (navigator.appName == ‘Netscape’ && (e.which == 2 || e.which == 3)) {
alert(“© Copyright by {site_name}”);
return false;
}
else if (navigator.appName == ‘Microsoft Internet Explorer’ && (event.button==2 || event.button == 3)) {
alert(“© Copyright by {site_name}”);
return false;
}
return true;
}
document.onmousedown=right;
if (document.layers) window.captureEvents(Event.MOUSEDOWN);
window.onmousedown=right;
4images V1.7.3 – 1.7.6
function right(e) {
if ((document.layers || (document.getElementById && !document.all)) && (e.which == 2 || e.which == 3)) {
alert(“© Copyright by {site_name}”);
return false;
}
else if (event.button == 2 || event.button == 3) {
alert(“© Copyright by {site_name}”);
return false;
}
return true;
}if (document.layers){
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown = right;
}
else if (document.all && !document.getElementById){
document.onmousedown = right;
}document.oncontextmenu = new Function(“alert(‘© Copyright by {site_name}’);return false”);
Right-click only for Guest, not for Members
function right(e) {
if ((document.layers || (document.getElementById && !document.all)) && (e.which == 2 || e.which == 3)) {
alert(“© Copyright by {site_name}”);
return false;
}
else if (event.button == 2 || event.button == 3) {
alert(“© Copyright by {site_name}”);
return false;
}
return true;
}if (document.layers){
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown = right;
}
else if (document.all && !document.getElementById){
document.onmousedown = right;
}document.oncontextmenu = new Function(“alert(‘© Copyright by {site_name}’);return false”);
Replace
{if user_loggedout}
function right(e) {
if ((document.layers || (document.getElementById && !document.all)) && (e.which == 2 || e.which == 3)) {
alert(“© Copyright by {site_name}”);
return false;
}
else if (event.button == 2 || event.button == 3) {
alert(“© Copyright by {site_name}”);
return false;
}
return true;
}if (document.layers){
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown = right;
}
else if (document.all && !document.getElementById){
document.onmousedown = right;
}document.oncontextmenu = new Function(“alert(‘© Copyright by {site_name}’);return false”);
{endif user_loggedout}