From 1b93137e16694f52952c930848e1a7928e8a00a6 Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Wed, 9 Nov 2016 18:57:02 +0100 Subject: 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 --- inc/web-thumbnailer.json | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 inc/web-thumbnailer.json (limited to 'inc/web-thumbnailer.json') 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 @@ +{ + "settings": { + "default": { + "_comment": "infinite cache", + "cache_duration": -1, + "timeout": 60 + } + } +} \ No newline at end of file -- cgit v1.2.3 From e85b7a05a177f803ae36ba5c12835313f31177bc Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Sat, 11 Nov 2017 14:01:21 +0100 Subject: Update thumbnail integration after rebasing the branch --- inc/web-thumbnailer.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'inc/web-thumbnailer.json') diff --git a/inc/web-thumbnailer.json b/inc/web-thumbnailer.json index 8a19f070..263529fd 100644 --- a/inc/web-thumbnailer.json +++ b/inc/web-thumbnailer.json @@ -3,7 +3,10 @@ "default": { "_comment": "infinite cache", "cache_duration": -1, - "timeout": 60 + "timeout": 10 + }, + "path": { + "cache": "cache/" } } } \ No newline at end of file -- cgit v1.2.3 From 787faa42f3a2bcbf83a7853f23f3667a6febf9da Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Fri, 6 Apr 2018 18:21:47 +0200 Subject: Take code review into account Upgrade web-thumbnailer and display thumbs right after download --- inc/web-thumbnailer.json | 1 + 1 file changed, 1 insertion(+) (limited to 'inc/web-thumbnailer.json') diff --git a/inc/web-thumbnailer.json b/inc/web-thumbnailer.json index 263529fd..b8db561e 100644 --- a/inc/web-thumbnailer.json +++ b/inc/web-thumbnailer.json @@ -1,6 +1,7 @@ { "settings": { "default": { + "download_mode": "HOTLINK", "_comment": "infinite cache", "cache_duration": -1, "timeout": 10 -- cgit v1.2.3 From 7b4fea0e39be9e74e9aef13e73af9bbd2b1a6397 Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Tue, 17 Jul 2018 13:13:26 +0200 Subject: Bunch of improvement for thumbnails integration: - add a default thumb size value (125x90px) - improve private vertical bar visual, especially with thumbnails - translations - add a sync thumbs button in tool and empty picwall page - fixes WT download mode in JSON config --- inc/web-thumbnailer.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'inc/web-thumbnailer.json') diff --git a/inc/web-thumbnailer.json b/inc/web-thumbnailer.json index b8db561e..dcaa149e 100644 --- a/inc/web-thumbnailer.json +++ b/inc/web-thumbnailer.json @@ -1,7 +1,7 @@ { "settings": { "default": { - "download_mode": "HOTLINK", + "download_mode": "DOWNLOAD", "_comment": "infinite cache", "cache_duration": -1, "timeout": 10 @@ -10,4 +10,4 @@ "cache": "cache/" } } -} \ No newline at end of file +} -- cgit v1.2.3