This commit is contained in:
Tom Canac 2015-07-07 14:01:47 +02:00
parent 08cbcbdc5f
commit c8a0ee1b32
5 changed files with 34 additions and 57 deletions

View File

@ -1,26 +1,13 @@
<?php <?php
/* /*
MINIGAL NANO * MinigalNano, a PHP/HTML/CSS KISS image gallery
- A PHP/HTML/CSS based image gallery script *
* Licence : This script and included files are subject to licensing from
This script and included files are subject to licensing from Creative Commons (http://creativecommons.org/licenses/by-sa/2.5/) * Creative Commons (http://creativecommons.org/licenses/by-sa/3.0/)).
You may use, edit and redistribute this script, as long as you pay tribute to the original author by NOT removing the linkback to www.minigal.dk ("Powered by MiniGal Nano x.x.x") * Authors : Based on the original work of Tomas Rybak (2010, www.minigal.dk),
* this current version is hosted at https://github.com/sebsauvage/MinigalNano
MiniGal Nano is created by Thomas Rybak * and is maintained by the MinigalNano community.
* Usage : <img src="createthumb.php?filename=photo.jpg&amp;size=100">
Copyright 2010 by Thomas Rybak
Support: www.minigal.dk
Community: www.minigal.dk/forum
Please enjoy this free script!
Version 0.3.5 modified by Sebastien SAUVAGE (sebsauvage.net):
- Added thumbnail cache (reduces server CPU load, server bandwith and speeds up client page display).
- Thumbnails are now always in JPEG even if the source image is PNG or GIF.
USAGE EXAMPLE:
File: createthumb.php
Example: <img src="createthumb.php?filename=photo.jpg&amp;size=100">
*/ */
error_reporting(0); error_reporting(0);

View File

@ -1,16 +1,17 @@
MinigalNano is licensed under the Creative Commons Attribution-Share Alike license (http://creativecommons.org/licenses/by-sa/3.0/) MinigalNano is licensed under the Creative Commons Attribution-Share Alike license (http://creativecommons.org/licenses/by-sa/3.0/)
You can check github's contributors list : https://github.com/sebsauvage/MinigalNano/graphs/contributors
Copyright (c) 2014 Thomas Rybak <http://www.minigal.dk/minigal-nano.html> Copyright (c) Thomas Rybak <http://www.minigal.dk/minigal-nano.html> (2014)
Copyright (c) 2014 Sébastien Sauvage <http://sebsauvage.net/> Copyright (c) Sébastien Sauvage <http://sebsauvage.net/> (2014)
Copyright (c) 2014 Aldarone <http://aldarone.fr/> Copyright (c) Aldarone <http://aldarone.fr/> (2014)
Copyright (c) 2014 Sylvhem <http://lepubdelobservateur.fr/> Copyright (c) Sylvhem <http://lepubdelobservateur.fr/> (2014)
Copyright (c) 2014 Tom Canac <http://tomcanac.com/> Copyright (c) Tom Canac <http://tomcanac.com/> (2014, 2015)
Copyright (c) 2014 Alda Marteau-Hardi <alda@leetchee.fr> Copyright (c) Alda Marteau-Hardi <alda@leetchee.fr> (2014)
Copyright (c) 2014 bitbybit <crigon+github@crigon.name> Copyright (c) bitbybit <crigon+github@crigon.name> (2014)
Copyright (c) 2014 cyberic99 <cyberic99@users.noreply.github.com> Copyright (c) cyberic99 <cyberic99@users.noreply.github.com> (2014)
Copyright (c) 2014 iGormilhit <igormilhit@mailoo.org> Copyright (c) iGormilhit <igormilhit@mailoo.org> (2014)
Copyright (c) 2014, 2015 Jan Niggemann <jn@hz6.de> Copyright (c) Jan Niggemann <jn@hz6.de> (2014, 2015)
Copyright (c) 2014 Lucas Cimon <lucas.cimon@gmail.com> Copyright (c) Lucas Cimon <lucas.cimon@gmail.com> (2014)
Copyright (c) 2014 nodiscc <nodiscc@gmail.com> Copyright (c) nodiscc <nodiscc@gmail.com> (2014, 2015)
Copyright (c) 2014 Orangina Rouge <eric.watson-doqguhmm@yopmail.com> Copyright (c) Orangina Rouge <eric.watson-doqguhmm@yopmail.com> (2014)
Copyright (c) 2014 Nitrux Project <http://store.nitrux.in/> Copyright (c) Nitrux Project <http://store.nitrux.in/> (2014)

View File

@ -1,24 +1,13 @@
<?php <?php
/* /*
MINIGAL NANO * MinigalNano, a PHP/HTML/CSS KISS image gallery
- A PHP/HTML/CSS based image gallery script *
* Licence : This script and included files are subject to licensing from
This script and included files are subject to licensing from Creative Commons (http://creativecommons.org/licenses/by-sa/2.5/) * Creative Commons (http://creativecommons.org/licenses/by-sa/3.0/)).
You may use, edit and redistribute this script, as long as you pay tribute to the original author by NOT removing the linkback to www.minigal.dk ("Powered by MiniGal Nano x.x.x") * Authors : Based on the original work of Tomas Rybak (2010, www.minigal.dk),
* this current version is hosted at https://github.com/sebsauvage/MinigalNano
MiniGal Nano is created by Thomas Rybak * and is maintained by the MinigalNano community.
Copyright 2010 by Thomas Rybak
Support: www.minigal.dk
Community: www.minigal.dk/forum
Please enjoy this free script!
Upgraded to https://github.com/sebsauvage/MinigalNano
by Sébastien SAUVAGE.
*/ */
error_reporting(-1); error_reporting(-1);

View File

@ -151,7 +151,7 @@ if (is_dir('thumbs') && is_writable('thumbs')) {
<footer role="contentinfo"> <footer role="contentinfo">
<a href="https://github.com/sebsauvage/MinigalNano" title="Powered by MiniGal Nano" target="_blank"> <a href="https://github.com/sebsauvage/MinigalNano" title="Powered by MiniGal Nano" target="_blank">
Made with miniGal by sebsauvage. Made with miniGal by the community.
</a> </a>
</footer> </footer>
</body> </body>

View File

@ -35,7 +35,7 @@
font-style: italic; font-style: italic;
} }
h1 a{ h1 a{
color: #CC2027; color: #CC2027;
} }
body > header{ body > header{
background-color:#FFF; background-color:#FFF;
@ -123,7 +123,7 @@
} }
#gallery li img{ #gallery li img{
width: 100%; width: 100%;
} }
#gallery em { #gallery em {
background: #FFF; background: #FFF;
text-align: center; text-align: center;
@ -206,7 +206,7 @@
<div id="Message" class="Message"> <div id="Message" class="Message">
<% messages %> <% messages %>
</div> </div>
</header> </header>
<main id="container"> <main id="container">
<ul id="gallery"> <ul id="gallery">