diff options
author | ArthurHoaro <arthur@hoa.ro> | 2016-11-09 18:57:02 +0100 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2018-07-05 20:31:35 +0200 |
commit | 1b93137e16694f52952c930848e1a7928e8a00a6 (patch) | |
tree | 3d2c69d1c3bd1a85e1e46b04c55fc3978b5ebde8 /inc/web-thumbnailer.json | |
parent | edb4a4d9c9fbc01d67ee8d095fe26648714e2285 (diff) | |
download | Shaarli-1b93137e16694f52952c930848e1a7928e8a00a6.tar.gz Shaarli-1b93137e16694f52952c930848e1a7928e8a00a6.tar.zst Shaarli-1b93137e16694f52952c930848e1a7928e8a00a6.zip |
Use web-thumbnailer to retrieve thumbnails
* requires PHP 5.6
* use blazy on linklist since a lot more thumbs are retrieved
* thumbnails can be disabled
* thumbs size is now 120x120
* thumbs are now cropped to fit the expected size
Fixes #345 #425 #487 #543 #588 #590
Diffstat (limited to 'inc/web-thumbnailer.json')
-rw-r--r-- | inc/web-thumbnailer.json | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/inc/web-thumbnailer.json b/inc/web-thumbnailer.json new file mode 100644 index 00000000..8a19f070 --- /dev/null +++ b/inc/web-thumbnailer.json | |||
@@ -0,0 +1,9 @@ | |||
1 | { | ||
2 | "settings": { | ||
3 | "default": { | ||
4 | "_comment": "infinite cache", | ||
5 | "cache_duration": -1, | ||
6 | "timeout": 60 | ||
7 | } | ||
8 | } | ||
9 | } \ No newline at end of file | ||