Commit graph

36 commits

Author SHA1 Message Date
Piotr KUCHARSKI
5e57817eb5 clean up spacing 2014-11-26 17:33:04 +01:00
Piotr KUCHARSKI
1989ea5ce3 use built-in is_dir() function 2014-11-25 12:32:23 +01:00
Piotr KUCHARSKI
0d014c7f70 rename config.php to config-default.php and include (new) config.php
that contains only settings that are different than default ones.
also add config.php to gitignore.

all this will make it easier for users to sync with repo.
2014-11-25 02:11:37 +01:00
Alda Marteau-Hardi
6099e982ab Slashes unescaping seemed overcomplicated. 2014-11-24 20:43:39 +01:00
Tom.C.
f72084ccff Merge pull request #64 from Lucas-C/master
Do not escape slashes in images href URLs
2014-11-24 18:43:59 +01:00
Lucas Cimon
2f0905a304 Do not escape slashes in images href URLs
Fixes #57
2014-11-24 18:33:26 +01:00
Piotr KUCHARSKI
dc109fda31 use SORT_ASC/DESC directly in config. simplifies array_multisort. 2014-11-24 17:01:54 +01:00
Piotr KUCHARSKI
bc38cfd279 make breadcrumb separator easily configurable 2014-11-23 11:58:01 +01:00
Piotr KUCHARSKI
652eaac128 "/" in the uri must never be urlencoded, it breaks opening files completely.
also remove some code repetition.
2014-11-23 00:03:21 +01:00
Tom Canac
17322c981c fix #53 2014-11-11 10:43:18 +01:00
Alda Marteau-Hardi
8afc37cb19 Fix #10 : Proper escaping for files and folder name 2014-11-08 21:12:59 +01:00
Tom.C.
e33846f671 Merge pull request #50 from nodiscc/multimedia-support
Add multimedia (audio/video) files support
2014-10-05 06:57:37 +02:00
cyberic99
c7a987d436 add $display_filename option to show the filename under the picture 2014-09-14 11:57:21 +02:00
nodiscc
54d6fc754f add support for more audio/video formats/extensions:
* video: mp4, mpg, mpeg, mov, avi, wmv, flv, webm
 * audio: .aiff, .aif, .wma, .aac, .flac, .mp3, .ogg, .m4a
 * use Nitrux icons (http://deviantn7k1.deviantart.com/art/Nitrux-293634207) for audio and video icons
2014-09-11 19:42:41 +02:00
nodiscc
878a034094 index.php: remove trailing spaces 2014-09-11 15:13:35 +02:00
Tom.C.
dfadcf8a85 Merge pull request #49 from nodiscc/video-support
add basic OGV video support
2014-09-08 15:43:37 +02:00
nodiscc
cf1ba1bc9a add basic OGV video support
* work on https://github.com/sebsauvage/MinigalNano/issues/46
 * lightbox not supported yet, videos are just linked from the gallery page
2014-09-08 14:46:09 +02:00
Lucas Cimon
c38eb0e9c0 index.php caption fixes
-> ignoring empty lines in captions.txt that caused crashes
+ using captions.txt over EXIF and file name
2014-07-15 23:52:18 +02:00
Tom Canac
4bf3c2a22e BOM fixed in index.php (thanks to ploc) 2014-07-07 14:03:20 +00:00
Tom Canac
071c9dddd2 fix #35 2014-06-22 22:13:12 +02:00
Orangina Rouge
9f3070b65a [Display of folder] - patch of issue when nothing to display
Correction of the call of the function when no picture nor default image exist
2014-02-24 23:19:30 +01:00
Orangina Rouge
dab48007cf [EXIF reading] - patch of problem for reading data
comment of lines which calculate the good focal length and the F-number to avoid division by zero
use of a elseif to take into account the EXIF readen in the caption of the image
rework of the syntax to pend exif info to caption
2014-02-24 23:12:36 +01:00
Tom Canac
7880ce7faa lightbox restablished 2014-02-11 22:49:28 +01:00
Sylvhem
0b9cd898fe Amélioration du code des thèmes 2014-02-09 16:43:32 +01:00
Tom.C.
98d96dabd3 Merge pull request #6 from bitbybit/patch-1
Warning: opendir(path/to/dir): failed to open dir: No such file or directory
2014-02-02 13:07:18 -08:00
Tom Canac
9340afd5d3 comment.php now handle special caracters. UTF8 fixed 2014-01-31 20:10:50 +01:00
Tom Canac
695de0a19c permissions fixeds 2014-01-30 18:16:30 +01:00
Tom Canac
a508ee9079 lazy loading finished 2014-01-30 18:08:57 +01:00
Tom Canac
8b5713c059 lazy loading is okay :) 2014-01-30 12:29:34 +01:00
Tom Canac
2a069b7dc3 Option to display all pictures on one page added 2014-01-30 10:52:08 +01:00
bitbybit
014d9c0665 Warning: opendir(path/to/dir): failed to open dir: No such file or directory
Check if folder exists
2013-08-16 18:35:10 +04:00
Sébastien SAUVAGE
f9174bd807 Merge pull request #3 from Aldarone/master
Allow the use of the character ' in captions.
2013-08-12 14:02:12 -07:00
Sebastien SAUVAGE
0cb8716530 Removed warning
Removed warning when sorting a directory with both files and
subdirectories.
2013-07-27 23:50:06 +02:00
Alda Marteau-Hardi
65499b97b1 Allow the use of the character ' in captions. 2013-07-12 13:02:54 +02:00
Sebastien SAUVAGE
c6b911cc29 Version 0.3.7
* Version number now starts at 0.3.7
* Added thumbnail cache.
* Added optional folder comment and image title/caption
* darkgold2 theme from version 0.2.3 adapted to this version.
* darkgold2 is now the default theme.
* Increased thumbnail size.
* Increased number of images per page.
* Page is now in UTF-8 by default to support international characters.
* Removed many warnings.
* Corrected XSS vulnerability.
* Added htaccess to prevent raw browsing of images folder.
* Removed version check against original author's website.
2013-03-23 18:46:00 +01:00
Sebastien SAUVAGE
373df6fb09 Initial commit of Thomas Rybak's original version 2013-03-23 17:35:44 +01:00