====== MiniGal Nano (modified) ====== (**[[minigal_nano|Version française]]** de ce document) ===== Presentation ===== MiniGal Nano is a very simple image gallery. It only requires php and GD (no database, no special libraries like PEAR or ImageMagick). MiniGal Nano does not have a web admin interface: You only have to drop your images in the photo folder. **I am not the author of Minigal Nano.** I have modified MiniGal Nano to fit my needs (in particular my [[http://sebsauvage.net/galerie/|galleries]]). (The original website was [[http://web.archive.org/web/20180623180224/http://www.minigal.dk/minigal-nano.html|minigal.dk]]) * List of changes: * Added a thumbnail cache (to reduce server CPU load and increase page display speed). * Added gallery comment (just create a ''comment.html'' file in each directory). * Added comments in the three base templates (mano,exhibition,integrate). * Adapted the //darkgold2// template from 0.2.3 of MiniGal Nano. * Changed the default configuration file: * darkgold2 is now default theme * changed the number of thumbnails per page (''$thumbs_pr_page''). * Disabled new version check. * Corrected a XSS vulnerability in the original version ((This vulnerability is not corrected yet in the genuine version of MiniGal Nano.)) (thanks to [[http://www.twitter.com/johnjean|John JEAN]]). * RSS feed. * Many other features (see GitHub). Original [[http://www.minigal.dk/minigal-nano.html|official website]] seems to have vanished. Developement of this version is now hosted on GitHub. ===== Example ===== * My personal galery: http://sebsauvage.net/galerie/ {{ :minigal_nano:minigal_nano_exemple_galerie2.jpg }} ===== Download ===== https://github.com/sebsauvage/MinigalNano/archive/master.zip ===== Sources ===== https://github.com/sebsauvage/MinigalNano ===== Installation ===== * Unzip the archive and transfer to your web host. * Copy your photos in the ''**photos**'' subdirectory. * You're done ! Your gallery is browsable. **Note:** Depending on your host, you mave have to remove the ''.htaccess'' files (Some hosts do not support some Apache configuration instructions.) ===== Customisation ===== * **Title**: In ''config.php'', change the line ''$title = "My Gallery";'' * **Author**: In ''config.php'', change the line ''$author = "Me :)";'' * **Number of thumbnails per page**: In ''config.php'', change the line ''$thumbs_pr_page = "21";'' * **Folder icons**: If an image ''**folder.jpg**'' is present in a folder, it will be used as folder icon. * **Comments**: If a file ''**comment.html**'' is present in a folder, it will be displayed above the thumbnails. * **Template**: In ''config.php'', change the line ''$templatefile = "darkgold2";'' * Available templates in version 0.3.5 are: darkgold2, mano, exhibition. If you need further customisation, you can create your own template. Start by duplicating one of the existing templates in the ''templates'' directory, then alter the CSS (which is included in the HTML file). ===== Licence ===== Creative Commons License
MiniGal Nano SSE by Sébastien SAUVAGE is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Based on a work at www.minigal.dk. ~~DISCUSSION:closed~~