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
3c7d6449d2
Store the list of directories and loop on directories in reversed order, to
...
process subdirectories before their parent (fix #6 ).
2012-12-11 00:05:52 +01:00
Simon
258b76b84e
Add tests for the Image class.
2012-11-27 23:47:16 +01:00
Simon
ec2be44146
Add a test for the copy_exif function.
2012-11-27 23:31:12 +01:00
Simon
4ffe0701fa
fix tests for python 2.6, importing unittest2 if necessary
2012-11-22 13:59:42 +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
6fcaa01e90
improve tests for gallery
2012-11-09 13:07:03 +01:00
Simon
b0564e6c80
modify test samples
...
- add spaces in filenames
- add a subdirectory
2012-11-09 13:03:44 +01:00
Simon
1a85719e5c
fix tests for gallery
2012-11-07 01:01:12 +01:00
Simon
6559f46e2a
rename fileextlist to ext_list + minor style improvements
2012-11-01 00:21:54 +01:00
Simon
1ca35ce1b2
update the sample data
2012-10-31 23:58:02 +01:00
Simon
4d41236c2a
simplify Gallery parameters
2012-10-30 00:27:12 +01:00
Simon
8fbd43f4d5
move Gallery in its own module
2012-10-29 23:48:55 +01:00
Simon
8998141395
pep8
2012-10-29 23:28:22 +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
8306351e6d
use assertItemsEqual as the order of the list of files returned by os.walk is
...
not always the same.
2012-08-06 00:14:54 +02:00
Simon
34510f0050
test_image - rename the class
2012-07-15 22:45:33 +02:00
Simon
b1e704169f
increase thumbnail size for the sample gallery
2012-07-02 00:08:33 +02:00
Simon
7cbb1b6c36
gallery: add tests for the filelist method, + correct import of PIL
2012-05-22 23:48:15 +02:00
Simon
17093a4371
add some tests for settings
2012-05-15 00:54:30 +02:00
Simon
756e023c9e
settings:
...
* add tests
* arg for read_settings is the file, not the dir
2012-05-15 00:49:13 +02:00
Simon
c043047d01
move sample gallery in the tests dir
2012-05-15 00:38:06 +02:00