552404 Show random multiple images from multiple folders.

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.

1. ============================================================

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

2. ============================================================

The [url removed, login to view] script is called onto an existing PHP page via include:

<?php include("[url removed, login to view]"); ?>

3. ============================================================

The images grabbed from each folder MUST be RANDOM. Meaning, every time the page is refreshed, it will show different images.

4. ============================================================

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.

5. ============================================================

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.

Skills: Anything Goes, PHP

See more: what can i do from home, pixels studio, maximum path, show box, random, random page, images size, show text, photo album layout, photo studio php script, print studio, full width header, images similar, show photo, random random, random text php script, random string, folders, italy germany russia, login multiple page

About the Employer:
( 37 reviews ) Sungai Petani, Malaysia

Project ID: #2298350

Awarded to:


Can be done today! Looking forward to work with you.

$70 USD in 0 days
(76 Reviews)