I need a PHP script (let's call it [url removed, login to view]) which grabs images from multiple folders and generates thumbnails in 6 columns x ? rows layout, where the number of rows depends on the variable $maxphotos_X.
The layout is similar to [url removed, login to view] (but I don't need the header or login box, I need only the clean thumbnail output).
See the attached [url removed, login to view] for a quick idea about the layout.
Variables to be specified inside [url removed, login to view] are:
$$foldertitle_X: A title text string which will be printed before the thumbnails
$folderpath_X: The path to the folder where full-size photos are located/grabbed.
$maxphotos_X: Maximum quantity of thumbnail output.
$foldertitle_1 = "Italy Photos";
$folderpath_1 = "/home/username/public_html/en/album/italy";
$maxphotos_1 = "36";
$foldertitle_2 = "Germany Photos";
$folderpath_2 = "/home/username/public_html/en/album/germany";
$maxphotos_2 = "12";
$foldertitle_3 = "Canada Photos";
$folderpath_3 = "/home/username/public_html/en/album/canada";
$maxphotos_3 = "6";
$foldertitle_4 = "Russia Photos";
$folderpath_4 = "/home/username/public_html/en/album/russia";
$maxphotos_4 = "6";
$foldertitle_5 = "Spain Photos";
$folderpath_5 = "/home/username/public_html/en/album/spain";
$maxphotos_5 = "6";
Can specify either 1, 2, 3, 4 or 5 folder sets. Maximum folder is 5. Minimum folder is 1 (with 2/3/4/5's variables left blank).
If a folder is specified but there is no photo in that folder, it will print out "No photo available".
If a folder is wrongly specified (no such folder), it will print out "No such folder".
The [url removed, login to view] script is called onto an existing PHP page via include:
<?php include("[url removed, login to view]"); ?>
The images grabbed from each folder MUST be RANDOM. Meaning, every time the page is refreshed, it will show different images.
When a thumbnail is clicked, it will show the full-size photo in a popup graybox/thickbox.
The graybox/thickbox should be the same as the one in [url removed, login to view] (try to click on the trishaw or Universal Studio thumbnail). The codes of the graybox/thickbox is attached.
Thumbnails will be generated at maximum width or maximum height of 120 pixels (such as 120x80, 120x65, 120x60, 80x120, 65x120, 60x120).
I KNOW VERY WELL WHAT I NEED. So please do not bid if you cannot produce any part of the above features.