Simon Conseil
3e8ef322cf
Fix encoding error with the feed plugin on PY2 (Ref #194 )
2016-02-22 23:58:43 +01:00
Simon Conseil
c5d6497bd5
Add a feeds plugin, using all images sorted by date.
2016-01-23 15:28:28 +01:00
Craig Gallek
a92dc0e6d9
remove temp swp file
2016-01-18 18:05:16 -05:00
Craig Gallek
589eec0d21
Implement album sorting
...
This adds an 'albums_sort_attr' configuration modeled off of the
'medias_sort_attr'. It defaults to the existing behavior of sorting
sub-albums by directory name. It allows sort by any metadata attribute
stored in the album metadata file.
The existing album sort test wasn't really verifying album sorting
behavior, so I just re-wrote the whole thing to include tests for the
old behavior and new.
This should resolve issue #121
2016-01-18 17:29:28 -05:00
Rémy HUBSCHER
cb17a03316
Make sure gif files are zipped correctly.
2016-01-08 11:19:41 +01:00
Simon Conseil
9f0cf68b7b
Fix tests - forgot to revert the config file.
2015-09-01 23:09:01 +02:00
Simon Conseil
df00f85a88
Fix syntax error + avoid implicit global variables.
2015-09-01 16:06:16 +02:00
Abdul Qabiz
cf9866f9c1
Add watermark plugin
2015-03-06 19:25:26 +05:30
Simon Conseil
ff2c79ca6d
Allow to specify the author of an album (ref #139 ).
...
The author can be set in the album's index.md or in the settings.
2015-01-19 23:42:47 +01:00
Simon Conseil
dbc92d136d
Test if title is already unicode.
2014-11-23 16:02:23 +01:00
Simon Conseil
d42915a1ca
Fix the title which was not unicode when using the settings file ( fix #104 ).
2014-11-23 15:53:09 +01:00
Simon Conseil
52ff2b947d
Add warnings about imports in the settings file, to avoid breaking the
...
multiprocessing feature.
2014-09-04 22:49:01 +02:00
Simon Conseil
71afbf5355
Adapt code to work with the latest changes on master.
2014-07-17 00:41:40 +02:00
Andreas Sieferlinger
c070ad693b
fixing some smaller issues for pull request #3
2014-07-16 23:03:15 +02:00
Simon Conseil
05f71e86e3
Add plugins in the test config file.
2014-06-07 22:32:45 +02:00
Simon Conseil
befc3581c4
New settings to define the sort order for albums and medias ( closes #2 ).
2014-03-10 23:47:36 +01:00
Simon Conseil
2637f0d09d
Fix whitespace issues with videos ( fix #54 ).
2013-12-27 23:25:30 +01:00
Matthias Vogelgesang
e98b76f401
Add test case for GPS tags
...
This also adds a sample image licensed under CC-BY-NC from jerquiaga located at
Flickr: http://www.flickr.com/photos/jerquiaga/2394751088/
2013-08-14 10:27:08 +02:00
Simon Conseil
cbb714d4d4
Put the galleria video css in the main css file
2013-08-04 01:08:59 +02:00
Simon Conseil
9ab3ef9af5
Correct themes design with long directory names ( fix #20 ).
2013-08-04 00:56:43 +02:00
Christophe-Marie Duquesne
0b5e38b17c
Adding video support
2013-07-21 14:39:58 +02:00
Christophe-Marie Duquesne
3df7661b9d
Adding utf8 named image
2013-07-10 13:40:58 +02:00
Christophe-Marie Duquesne
16ae45de17
Because everyone loves tests
2013-07-10 00:51:41 +02:00
Simon Conseil
34c96d9742
Add new settings for the source and destination directories.
2013-05-07 00:58:11 +02:00
Simon Conseil
8cbad2b3c4
Move sample pictures to a sub-directory
2013-05-07 00:30:07 +02:00
Simon
4720001d82
Bugfix for PNG files which don't have exif metadata ( closes #11 ).
...
- add a test for the _getexif method
- add a png file in the sample directory
2013-03-12 18:30:44 +01:00
Simon
57eb9cf456
Remove the copy exif feature.
...
This feature was not really needed as the exif metadata were just copied to the
generated image. Moreover, this was depending on pyexiv2 which is now deprecated
in favour of GExiv2.
2013-03-04 00:08:55 +01:00
Simon
fe4daee706
Cleanup the tests config file as it is no more used as an example in the docs.
2013-02-23 16:26:35 +01:00
Simon
f646a212f9
Forget to add a test directory in the previous commit ...
2013-02-23 15:48:42 +01:00
Simon
5c2a7f9887
Add a sub-directory to the tests and refactor test_gallery.
2013-02-19 00:17:21 +01:00
Simon
025b868a91
Change "representative" to "thumbnail".
2013-02-18 00:33:47 +01:00
Simon
4ab124fceb
Don't process directories that do not contain images.
2013-02-08 12:30:29 +01:00
Simon
7b099b766a
Replace the jpg_quality setting with a dict of options.
...
Pass a dict with PIL options (quality, optimize, progressive).
Enlarge the MAXBLOCK buffer of ImageFile if there is an error (for the
progressive mode).
2013-01-21 23:36:21 +01:00
Simon
99ef37879b
Add a setting to specify a list of links and adapt the themes to show the links.
2013-01-03 00:51:18 +01:00
Simon
14224154f1
Add a setting to optionally add index.html to the URLs ( fix #8 ).
2012-12-21 23:41:32 +01:00
Simon
3638b0b02c
Update the docs.
2012-12-18 00:34:14 +01:00
Simon
60e16f1a43
Add a setting for Google Analytics.
2012-12-15 00:47:50 +01:00
Simon
488da4c497
Rename the copy exif setting.
2012-12-15 00:17:33 +01:00
Simon
7d3e7bb207
Move the configuration to a python file.
...
After a long hesitation ... but this will allow to use tuple, etc.
2012-12-15 00:13:08 +01:00
Simon
d2f135435a
change the default theme to colorbox
2012-11-22 13:44:21 +01:00
Simon
357c93f14e
improve description of settings
...
detail settings in tests/sample/sigal.conf and use this file in the docs.
2012-11-09 14:45:53 +01:00
Simon
6cc611773e
rename settings and use strings for default settings otherwise an error is
...
raised if a setting is not in the config file.
Renames:
- big_img to keep_orig
- bigimg_dir to orig_dir
2012-11-09 13:50:07 +01:00
Simon
2bbf14ce93
add a thumb_suffix setting and create a function to get the path of a thumbnail
2012-11-09 13:36:17 +01:00
Simon
b0564e6c80
modify test samples
...
- add spaces in filenames
- add a subdirectory
2012-11-09 13:03:44 +01:00
Simon
1ca35ce1b2
update the sample data
2012-10-31 23:58:02 +01:00
Simon
900da9d42f
add a make_thumbs setting to allow not generating thumbnails as they are not
...
needed for the galleria theme.
+ always generate thumbnail for the representative image
+ bugfixes for the boolean settings
2012-08-26 00:30:05 +02:00
Simon
e9c9cd1637
convert the sample description files to markdown
2012-08-26 00:30:04 +02:00
Simon
6fe0f3d331
keep the original ratio for the resized image
2012-08-26 00:29:51 +02:00
Simon
88175f02c7
use ImageOps.fit to create the thumbnails cropped to thumb_size, if the
...
thumb_fit params is True (replace the square_thumb param).
2012-08-07 00:15:17 +02:00
Simon
b1e704169f
increase thumbnail size for the sample gallery
2012-07-02 00:08:33 +02:00