Checkout the Adaptive Gallery Theme I just put together, its light weight theme very useful to show of your online portfolio or your photo gallery. You can easily modify it to work with your existing website.
The theme also includes fancy box (like lightbox) and PhpThub
For those who doesn’t what fancybox & PhpThub is – read the following:
FancyBox:
FancyBox is a tool for displaying images, html content and multi-media in a Mac-style “lightbox” that floats overtop of web page.
It was built using the jQuery library.
PhpThub
phpThumb() u create thumbnails from images (JPEG, PNG, GIF, BMP, etc) on the fly. The output size is configurable (can be larger or smaller than the source), and the source may be the entire image or only a portion of the original image. I’ve included the thub.php within the package, and its very easy to use.
How to use PhpThub (Skip this if your going to create your own thumbnails)
1. Create a folder on your server, or on your remote host where you want your image stored.
On this example I have a folder called /thubPHP/ where I uploded the thumb.php, and within that folder I have another folder called /img/.
And that’s pretty much it – no other configuration is required.
In order for you to pull the thumbnail your URL should have the follow string
https://www.techandall.com/demos/thubPHP/thumb.php?size=260&file=img/2.jpg
thumb.php – Call to the thumb.php
size=260 – Size of the thumbnail you want – You can increase or decrease the
file=img/2.jpg – Directory and files name