Middle Class White Guy
Contact me
Wine SLuRP Gadgets Poetry Stuff Galleries About Me

Gallery Gadget

This is the gadget that powers the Galleries section. It was written by me, for me, and so it meets my needs of requiring almost zero effort to use.

Just get your images, upload them to a folder, and create an index.php (or similar) file that include()'s gallery.php. gallery.php will hunt for all the image files in the folder and build a gallery from them. The only thing you need to do (and even this isn't essential) is define $DefaultPic, so it knows what image to display initially.

gallery.php does not need to exist in the same folder as the image files, but the file that include()'s it does.

All gadgets are released under the terms of the GNU GPL.
Creative Commons License
Except where stated, this site and its contents are copyright ©2021 Alec Harkness and licensed under a Creative Commons Attribution-Share Alike 2.5 License.
Contact me