Adaptive Gallery Theme with FancyBox

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 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.

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

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






You may also like...