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 /tpl/vintage/picwall.html | |
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 'tpl/vintage/picwall.html')
-rw-r--r-- | tpl/vintage/picwall.html | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tpl/vintage/picwall.html b/tpl/vintage/picwall.html index 29688914..2ac11ec2 100644 --- a/tpl/vintage/picwall.html +++ b/tpl/vintage/picwall.html | |||
@@ -15,7 +15,11 @@ | |||
15 | <div id="picwall_container"> | 15 | <div id="picwall_container"> |
16 | {loop="$linksToDisplay"} | 16 | {loop="$linksToDisplay"} |
17 | <div class="picwall_pictureframe"> | 17 | <div class="picwall_pictureframe"> |
18 | {$value.thumbnail}<a href="{$value.real_url}"><span class="info">{$value.title}</span></a> | 18 | {ignore}RainTPL hack: put the 2 src on two different line to avoid path replace bug{/ignore} |
19 | <img data-src="{$value.thumbnail}#" class="b-lazy" | ||
20 | src="#" | ||
21 | alt="thumbnail" width="{$thumbnails_width}" height="{$thumbnails_height}" /> | ||
22 | <a href="{$value.real_url}"><span class="info">{$value.title}</span></a> | ||
19 | {loop="$value.picwall_plugin"} | 23 | {loop="$value.picwall_plugin"} |
20 | {$value} | 24 | {$value} |
21 | {/loop} | 25 | {/loop} |