diff options
author | ArthurHoaro <arthur@hoa.ro> | 2018-10-06 13:29:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-06 13:29:10 +0200 |
commit | 8cac122086517e9a3b0dbd885c0b45c4314e2abe (patch) | |
tree | 60b4d78df12c9926996121c7c250236df734f488 /tpl/default | |
parent | fa8100c088ac990fde08a872816ea7dcfbf54202 (diff) | |
parent | 8c75c43e7ee0370eefceea84c6a74383e5c65d4b (diff) | |
download | Shaarli-8cac122086517e9a3b0dbd885c0b45c4314e2abe.tar.gz Shaarli-8cac122086517e9a3b0dbd885c0b45c4314e2abe.tar.zst Shaarli-8cac122086517e9a3b0dbd885c0b45c4314e2abe.zip |
Merge pull request #1211 from ArthurHoaro/hotfix/img-request
Fix a bug making thumbnail to request the current page
Diffstat (limited to 'tpl/default')
-rw-r--r-- | tpl/default/daily.html | 2 | ||||
-rw-r--r-- | tpl/default/linklist.html | 2 | ||||
-rw-r--r-- | tpl/default/picwall.html | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/tpl/default/daily.html b/tpl/default/daily.html index 816e5d0a..2c409478 100644 --- a/tpl/default/daily.html +++ b/tpl/default/daily.html | |||
@@ -72,7 +72,7 @@ | |||
72 | {if="$thumbnails_enabled && !empty($link.thumbnail)"} | 72 | {if="$thumbnails_enabled && !empty($link.thumbnail)"} |
73 | <div class="daily-entry-thumbnail"> | 73 | <div class="daily-entry-thumbnail"> |
74 | <img data-src="{$link.thumbnail}#" class="b-lazy" | 74 | <img data-src="{$link.thumbnail}#" class="b-lazy" |
75 | src="#" | 75 | src="" |
76 | alt="thumbnail" width="{$thumbnails_width}" height="{$thumbnails_height}" /> | 76 | alt="thumbnail" width="{$thumbnails_width}" height="{$thumbnails_height}" /> |
77 | </div> | 77 | </div> |
78 | {/if} | 78 | {/if} |
diff --git a/tpl/default/linklist.html b/tpl/default/linklist.html index c04f4786..aabb53ac 100644 --- a/tpl/default/linklist.html +++ b/tpl/default/linklist.html | |||
@@ -139,7 +139,7 @@ | |||
139 | <a href="{$value.real_url}"> | 139 | <a href="{$value.real_url}"> |
140 | {ignore}RainTPL hack: put the 2 src on two different line to avoid path replace bug{/ignore} | 140 | {ignore}RainTPL hack: put the 2 src on two different line to avoid path replace bug{/ignore} |
141 | <img data-src="{$value.thumbnail}#" class="b-lazy" | 141 | <img data-src="{$value.thumbnail}#" class="b-lazy" |
142 | src="#" | 142 | src="" |
143 | alt="thumbnail" width="{$thumbnails_width}" height="{$thumbnails_height}" /> | 143 | alt="thumbnail" width="{$thumbnails_width}" height="{$thumbnails_height}" /> |
144 | </a> | 144 | </a> |
145 | </div> | 145 | </div> |
diff --git a/tpl/default/picwall.html b/tpl/default/picwall.html index 9a0b10dc..4c325487 100644 --- a/tpl/default/picwall.html +++ b/tpl/default/picwall.html | |||
@@ -37,7 +37,7 @@ | |||
37 | <div class="picwall-pictureframe"> | 37 | <div class="picwall-pictureframe"> |
38 | {ignore}RainTPL hack: put the 2 src on two different line to avoid path replace bug{/ignore} | 38 | {ignore}RainTPL hack: put the 2 src on two different line to avoid path replace bug{/ignore} |
39 | <img data-src="{$value.thumbnail}#" class="b-lazy" | 39 | <img data-src="{$value.thumbnail}#" class="b-lazy" |
40 | src="#" | 40 | src="" |
41 | alt="thumbnail" width="{$thumbnails_width}" height="{$thumbnails_height}" /> | 41 | alt="thumbnail" width="{$thumbnails_width}" height="{$thumbnails_height}" /> |
42 | <a href="{$value.real_url}"><span class="info">{$value.title}</span></a> | 42 | <a href="{$value.real_url}"><span class="info">{$value.title}</span></a> |
43 | {loop="$value.picwall_plugin"} | 43 | {loop="$value.picwall_plugin"} |