Merge pull request #1211 from ArthurHoaro/hotfix/img-request
Fix a bug making thumbnail to request the current page
This commit is contained in:
commit
8cac122086
6 changed files with 6 additions and 6 deletions
|
@ -72,7 +72,7 @@ <h3 class="window-subtitle">{function="format_date($dayDate, false)"}</h3>
|
||||||
{if="$thumbnails_enabled && !empty($link.thumbnail)"}
|
{if="$thumbnails_enabled && !empty($link.thumbnail)"}
|
||||||
<div class="daily-entry-thumbnail">
|
<div class="daily-entry-thumbnail">
|
||||||
<img data-src="{$link.thumbnail}#" class="b-lazy"
|
<img data-src="{$link.thumbnail}#" class="b-lazy"
|
||||||
src="#"
|
src=""
|
||||||
alt="thumbnail" width="{$thumbnails_width}" height="{$thumbnails_height}" />
|
alt="thumbnail" width="{$thumbnails_width}" height="{$thumbnails_height}" />
|
||||||
</div>
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
|
|
|
@ -139,7 +139,7 @@
|
||||||
<a href="{$value.real_url}">
|
<a href="{$value.real_url}">
|
||||||
{ignore}RainTPL hack: put the 2 src on two different line to avoid path replace bug{/ignore}
|
{ignore}RainTPL hack: put the 2 src on two different line to avoid path replace bug{/ignore}
|
||||||
<img data-src="{$value.thumbnail}#" class="b-lazy"
|
<img data-src="{$value.thumbnail}#" class="b-lazy"
|
||||||
src="#"
|
src=""
|
||||||
alt="thumbnail" width="{$thumbnails_width}" height="{$thumbnails_height}" />
|
alt="thumbnail" width="{$thumbnails_width}" height="{$thumbnails_height}" />
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -37,7 +37,7 @@ <h2 class="window-title">{'Picture Wall'|t} - {$countPics} {'pics'|t}</h2>
|
||||||
<div class="picwall-pictureframe">
|
<div class="picwall-pictureframe">
|
||||||
{ignore}RainTPL hack: put the 2 src on two different line to avoid path replace bug{/ignore}
|
{ignore}RainTPL hack: put the 2 src on two different line to avoid path replace bug{/ignore}
|
||||||
<img data-src="{$value.thumbnail}#" class="b-lazy"
|
<img data-src="{$value.thumbnail}#" class="b-lazy"
|
||||||
src="#"
|
src=""
|
||||||
alt="thumbnail" width="{$thumbnails_width}" height="{$thumbnails_height}" />
|
alt="thumbnail" width="{$thumbnails_width}" height="{$thumbnails_height}" />
|
||||||
<a href="{$value.real_url}"><span class="info">{$value.title}</span></a>
|
<a href="{$value.real_url}"><span class="info">{$value.title}</span></a>
|
||||||
{loop="$value.picwall_plugin"}
|
{loop="$value.picwall_plugin"}
|
||||||
|
|
|
@ -71,7 +71,7 @@
|
||||||
{if="$thumbnails_enabled && !empty($link.thumbnail)"}
|
{if="$thumbnails_enabled && !empty($link.thumbnail)"}
|
||||||
<div class="dailyEntryThumbnail">
|
<div class="dailyEntryThumbnail">
|
||||||
<img data-src="{$link.thumbnail}#" class="b-lazy"
|
<img data-src="{$link.thumbnail}#" class="b-lazy"
|
||||||
src="#"
|
src=""
|
||||||
alt="thumbnail" width="{$thumbnails_width}" height="{$thumbnails_height}" />
|
alt="thumbnail" width="{$thumbnails_width}" height="{$thumbnails_height}" />
|
||||||
</div>
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
|
|
|
@ -85,7 +85,7 @@
|
||||||
<a href="{$value.real_url}">
|
<a href="{$value.real_url}">
|
||||||
{ignore}RainTPL hack: put the 2 src on two different line to avoid path replace bug{/ignore}
|
{ignore}RainTPL hack: put the 2 src on two different line to avoid path replace bug{/ignore}
|
||||||
<img data-src="{$value.thumbnail}#" class="b-lazy"
|
<img data-src="{$value.thumbnail}#" class="b-lazy"
|
||||||
src="#"
|
src=""
|
||||||
alt="thumbnail" width="{$thumbnails_width}" height="{$thumbnails_height}" />
|
alt="thumbnail" width="{$thumbnails_width}" height="{$thumbnails_height}" />
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
<div class="picwall_pictureframe">
|
<div class="picwall_pictureframe">
|
||||||
{ignore}RainTPL hack: put the 2 src on two different line to avoid path replace bug{/ignore}
|
{ignore}RainTPL hack: put the 2 src on two different line to avoid path replace bug{/ignore}
|
||||||
<img data-src="{$value.thumbnail}#" class="b-lazy"
|
<img data-src="{$value.thumbnail}#" class="b-lazy"
|
||||||
src="#"
|
src=""
|
||||||
alt="thumbnail" width="{$thumbnails_width}" height="{$thumbnails_height}" />
|
alt="thumbnail" width="{$thumbnails_width}" height="{$thumbnails_height}" />
|
||||||
<a href="{$value.real_url}"><span class="info">{$value.title}</span></a>
|
<a href="{$value.real_url}"><span class="info">{$value.title}</span></a>
|
||||||
{loop="$value.picwall_plugin"}
|
{loop="$value.picwall_plugin"}
|
||||||
|
|
Loading…
Reference in a new issue