4images code on GitHub Click here to visit GitHub.
0 Members and 1 Guest are viewing this topic.
<a href="#" onClick="window.open('./showwall.php?src={media_src}&image_id={image_id}&title={image_name}', 'showpic', 'fullscreen=yes,resizable=yes,status=no,menubar=no,toolbar=no,scrollbars=yes,left=0,top=0'); return false;" title="{image_name}"><img src="./media.php?src={media_src}&w=400&fltr[]=wmt|resized:+^Xx^Y+to+^xx^y|10|B|FFFFFF|arial.ttf|100|7||000000|100|" border="0" alt="{image_name}"></a>
Generate thumbs by visiting a URL such as your.com/thumbs/50x50/images/image.jpg. This will create a 50x50px thumbnail of your.com/images/image.jpg.The thumb will be stored on your server at your.com/thumbs/50x50/images/image.jpg so the next request for the same image will be loaded without loading php for ultra fast image cache.