fix #101
This commit is contained in:
parent
08cbcbdc5f
commit
c8a0ee1b32
5 changed files with 34 additions and 57 deletions
|
@ -1,26 +1,13 @@
|
|||
<?php
|
||||
/*
|
||||
MINIGAL NANO
|
||||
- A PHP/HTML/CSS based image gallery script
|
||||
|
||||
This script and included files are subject to licensing from Creative Commons (http://creativecommons.org/licenses/by-sa/2.5/)
|
||||
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")
|
||||
|
||||
MiniGal Nano is created by Thomas Rybak
|
||||
|
||||
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&size=100">
|
||||
* MinigalNano, a PHP/HTML/CSS KISS image gallery
|
||||
*
|
||||
* Licence : This script and included files are subject to licensing from
|
||||
* Creative Commons (http://creativecommons.org/licenses/by-sa/3.0/)).
|
||||
* Authors : Based on the original work of Tomas Rybak (2010, www.minigal.dk),
|
||||
* this current version is hosted at https://github.com/sebsauvage/MinigalNano
|
||||
* and is maintained by the MinigalNano community.
|
||||
* Usage : <img src="createthumb.php?filename=photo.jpg&size=100">
|
||||
*/
|
||||
|
||||
error_reporting(0);
|
||||
|
|
29
humans.txt
29
humans.txt
|
@ -1,16 +1,17 @@
|
|||
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) 2014 Sébastien Sauvage <http://sebsauvage.net/>
|
||||
Copyright (c) 2014 Aldarone <http://aldarone.fr/>
|
||||
Copyright (c) 2014 Sylvhem <http://lepubdelobservateur.fr/>
|
||||
Copyright (c) 2014 Tom Canac <http://tomcanac.com/>
|
||||
Copyright (c) 2014 Alda Marteau-Hardi <alda@leetchee.fr>
|
||||
Copyright (c) 2014 bitbybit <crigon+github@crigon.name>
|
||||
Copyright (c) 2014 cyberic99 <cyberic99@users.noreply.github.com>
|
||||
Copyright (c) 2014 iGormilhit <igormilhit@mailoo.org>
|
||||
Copyright (c) 2014, 2015 Jan Niggemann <jn@hz6.de>
|
||||
Copyright (c) 2014 Lucas Cimon <lucas.cimon@gmail.com>
|
||||
Copyright (c) 2014 nodiscc <nodiscc@gmail.com>
|
||||
Copyright (c) 2014 Orangina Rouge <eric.watson-doqguhmm@yopmail.com>
|
||||
Copyright (c) 2014 Nitrux Project <http://store.nitrux.in/>
|
||||
Copyright (c) Thomas Rybak <http://www.minigal.dk/minigal-nano.html> (2014)
|
||||
Copyright (c) Sébastien Sauvage <http://sebsauvage.net/> (2014)
|
||||
Copyright (c) Aldarone <http://aldarone.fr/> (2014)
|
||||
Copyright (c) Sylvhem <http://lepubdelobservateur.fr/> (2014)
|
||||
Copyright (c) Tom Canac <http://tomcanac.com/> (2014, 2015)
|
||||
Copyright (c) Alda Marteau-Hardi <alda@leetchee.fr> (2014)
|
||||
Copyright (c) bitbybit <crigon+github@crigon.name> (2014)
|
||||
Copyright (c) cyberic99 <cyberic99@users.noreply.github.com> (2014)
|
||||
Copyright (c) iGormilhit <igormilhit@mailoo.org> (2014)
|
||||
Copyright (c) Jan Niggemann <jn@hz6.de> (2014, 2015)
|
||||
Copyright (c) Lucas Cimon <lucas.cimon@gmail.com> (2014)
|
||||
Copyright (c) nodiscc <nodiscc@gmail.com> (2014, 2015)
|
||||
Copyright (c) Orangina Rouge <eric.watson-doqguhmm@yopmail.com> (2014)
|
||||
Copyright (c) Nitrux Project <http://store.nitrux.in/> (2014)
|
||||
|
|
25
index.php
25
index.php
|
@ -1,24 +1,13 @@
|
|||
<?php
|
||||
|
||||
/*
|
||||
MINIGAL NANO
|
||||
- A PHP/HTML/CSS based image gallery script
|
||||
|
||||
This script and included files are subject to licensing from Creative Commons (http://creativecommons.org/licenses/by-sa/2.5/)
|
||||
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")
|
||||
|
||||
MiniGal Nano is created by Thomas Rybak
|
||||
|
||||
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.
|
||||
|
||||
* MinigalNano, a PHP/HTML/CSS KISS image gallery
|
||||
*
|
||||
* Licence : This script and included files are subject to licensing from
|
||||
* Creative Commons (http://creativecommons.org/licenses/by-sa/3.0/)).
|
||||
* Authors : Based on the original work of Tomas Rybak (2010, www.minigal.dk),
|
||||
* this current version is hosted at https://github.com/sebsauvage/MinigalNano
|
||||
* and is maintained by the MinigalNano community.
|
||||
*/
|
||||
|
||||
error_reporting(-1);
|
||||
|
|
|
@ -151,7 +151,7 @@ if (is_dir('thumbs') && is_writable('thumbs')) {
|
|||
|
||||
<footer role="contentinfo">
|
||||
<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>
|
||||
</footer>
|
||||
</body>
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
font-style: italic;
|
||||
}
|
||||
h1 a{
|
||||
color: #CC2027;
|
||||
color: #CC2027;
|
||||
}
|
||||
body > header{
|
||||
background-color:#FFF;
|
||||
|
@ -123,7 +123,7 @@
|
|||
}
|
||||
#gallery li img{
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
#gallery em {
|
||||
background: #FFF;
|
||||
text-align: center;
|
||||
|
@ -206,7 +206,7 @@
|
|||
<div id="Message" class="Message">
|
||||
<% messages %>
|
||||
</div>
|
||||
</header>
|
||||
</header>
|
||||
|
||||
<main id="container">
|
||||
<ul id="gallery">
|
||||
|
|
Loading…
Reference in a new issue