Hi 🙂
I have seen somewhere a script called fetch_image.php. I cant find it on google after many times of searching, its a simple script for loading images as:
<img alt="Home" src="./images/overlay.gif" title="Home" style="background-image: url(fetch_image.php?content=menu&image=home&type=gif); background-repeat: no-repeat; background-position: center top; width: 32px; height: 32px; cursor: pointer;"/>
This script will also use (Example):
<body onload="MM_preloadImages('fetch_image.php?content=menu&image=home&type=gif','fetch_image.php?content=menu&image=browse&type=gif','fetch_image.php?content=menu&image=requests&type=gif','fetch_image.php?content=menu&image=dox&type=gif','fetch_image.php?content=menu&image=upload&type=gif','fetch_image.php?content=menu&image=forum&type=gif','fetch_image.php?content=menu&image=top10&type=gif','fetch_image.php?content=menu&image=users&type=gif','fetch_image.php?content=menu&image=staff&type=gif','fetch_image.php?content=menu&image=log&type=gif','fetch_image.php?content=menu&image=faq&type=gif','fetch_image.php?content=menu&image=rules&type=gif','fetch_image.php?content=menu&image=links-page&type=gif')">
JS:
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
This will protect users from taking the file from the server. Also preloading them.
Well it would be great if someone could help me with the fetch_image.php.
Cheers