|Last Updated||Ratings||Unique User Downloads||Download Rankings|
|2003-05-25 (13 years ago)||44%||Total: 2,426||All time: 1,546 This week: 1,109|
|gngallery 1.0||Freeware, GNU Les...||Graphics, Templates|
Template based Image gallery generation class.
Hello users, This classes (gnThumbNail and gnGallery) is created to help any one setup a working image gallery with little efforts(if you have the required things setup..., see requirements). Regards, Girish For any bashing/thrashing/kicking/likeing use <girishn2003_@_yahoo_._co_._in> Installation: You need to copy the two class files (gnThumbNail.php and gnGallery.php) + (template.inc + example1.php) into the folder you want to setup the things. Now copy the gnShow.php into the base directory where all your gallery is. (by gallery I mean you have the folders with collection of images). Now change the value of $base_dir and $domain (inside gnShow.php and example1.php) to your URI. the base_dir must be absolute path from the root folder. the $domain should contain the URL pointed by the $base_dir. $base_dir="/path/to/base/dir/"; $domain="http://yourdomain.co.in"; OR ="yourdomain.co.in/galleries"; then you need to run the example1.php you will get the index.html generated inside the galleries. To use the Additional data display feature, you need to set the $obj->use_db=1; a file named "gnGallery.db" is created in every folder when the gnThumbNail script is executed, then you can edit this file and put the details below the section named as [image filename] TPL_VARIABLE_NAME = "content" See the default db file generated it generates 3 variables, for filename, dimension and datemodified You can put it as you wish in the template file (see the example templates). To use different templates just change this value in the exapmle1.php $gG->tpl_file="template1.html"; // the template file name to use Note: - You must have appropriate permissions for this in the folders. Tested on (Requirements): PHP 4.2 OR > With GD support. OS: Windows/Linux TODO: The list of todo is being worked on, if you have suggestions please send a mail.
|example1.php||Example||example file to use the functionalities|
|Faq.txt||Doc.||This contains some FAQs, asked by some users|
|gnShow.php||Appl.||Show Gallery images|
|Readme.txt||Doc.||information on installing / configuring etc.|
|template.html||Example||Example template file|
|template.inc||Class||Phplib template class for parsing template|
|template2.html||Example||Example template file shows another way to use the gnGallery!|
|Version Control||Unique User Downloads||Download Rankings|