Home  |  Simple Gallery Demo

Simple Gallery v1.0 costs 10 CRedits. Buy & download it. Requirements: php.


function SimpleGal($arrpics, $arrlinks, $arrstr, $idobj='simplegal', $w=320, $h=240, $auto='false', $resize=true, $fillcolor='CCCCCC')

The original pictures (jpg, png, gif) can be any size and are resized to the dimensions specified. A subdirectory cache/ is used to keep and reuse them.
When resizing, empty space is filled with 'fillcolor'.
The three arrays of pics, links and comments must match.
$idobj is the gallery javascript object identification and must be unique in the page.

Files needed: class.simplegal.php, js/simplegallery.js, js/jquery.js, js/images/*.*
On this demo, the pics are in pix/ and a cache/ was created.