mirror of
https://github.com/thumbsup/thumbsup
synced 2024-11-03 15:40:14 +00:00
Fix image "alt" tags and video poster URL (mosaic theme)
This commit is contained in:
parent
7e73e6a10b
commit
4ccb10baba
@ -46,7 +46,7 @@
|
||||
<img src="{{relative urls.thumbnail}}"
|
||||
width="{{@root.gallery.thumbSize}}"
|
||||
height="{{@root.gallery.thumbSize}}"
|
||||
alt="{{file.name}}" />
|
||||
alt="{{filename}}" />
|
||||
</a>
|
||||
<img class="video-overlay" src="{{relative 'public/play.png'}}" />
|
||||
</li>
|
||||
@ -58,7 +58,7 @@
|
||||
<img src="{{relative urls.thumbnail}}"
|
||||
width="{{@root.gallery.thumbSize}}"
|
||||
height="{{@root.gallery.thumbSize}}"
|
||||
alt="{{relative file.name}}" />
|
||||
alt="{{filename}}" />
|
||||
</a>
|
||||
{{#if isAnimated}}
|
||||
<img class="video-overlay" src="{{relative 'public/play.png'}}" />
|
||||
|
@ -42,7 +42,7 @@
|
||||
<img src="{{relative urls.thumbnail}}"
|
||||
width="{{@root.gallery.thumbSize}}"
|
||||
height="{{@root.gallery.thumbSize}}"
|
||||
alt="{{file.name}}" />
|
||||
alt="{{filename}}" />
|
||||
</a>
|
||||
<img class="video-overlay" src="{{relative 'public/play.png'}}" />
|
||||
</li>
|
||||
@ -54,7 +54,7 @@
|
||||
<img src="{{relative urls.thumbnail}}"
|
||||
width="{{@root.gallery.thumbSize}}"
|
||||
height="{{@root.gallery.thumbSize}}"
|
||||
alt="{{file.name}}" />
|
||||
alt="{{filename}}" />
|
||||
</a>
|
||||
{{#if isAnimated}}
|
||||
<img class="video-overlay" src="{{relative 'public/play.png'}}" />
|
||||
|
@ -39,7 +39,7 @@
|
||||
</div>
|
||||
<ul class="grid clearfix">
|
||||
{{~#slice previews count=8~}}
|
||||
<li><img src="{{relative this.urls.thumbnail}}" /></li>
|
||||
<li><img src="{{relative urls.thumbnail}}" /></li>
|
||||
{{~/slice}}
|
||||
</ul>
|
||||
</a>
|
||||
@ -54,13 +54,13 @@
|
||||
{{#each album.files}}
|
||||
{{#if isVideo~}}
|
||||
<li data-html="#media{{id}}"
|
||||
data-poster="{{relative urls.poster}}"
|
||||
data-poster="{{relative urls.large}}"
|
||||
data-download-url="{{relative urls.download}}">
|
||||
<a href="{{relative urls.download}}">
|
||||
<img src="{{relative urls.thumbnail}}"
|
||||
width="{{@root.gallery.thumbSize}}"
|
||||
height="{{@root.gallery.thumbSize}}"
|
||||
alt="{{relative file.name}}" />
|
||||
alt="{{filename}}" />
|
||||
</a>
|
||||
<img class="video-overlay" src="{{relative 'public/play.png'}}" />
|
||||
</li>
|
||||
@ -72,7 +72,7 @@
|
||||
<img src="{{relative urls.thumbnail}}"
|
||||
width="{{@root.gallery.thumbSize}}"
|
||||
height="{{@root.gallery.thumbSize}}"
|
||||
alt="{{relative file.name}}" />
|
||||
alt="{{filename}}" />
|
||||
</a>
|
||||
{{#if isAnimated}}
|
||||
<img class="video-overlay" src="{{relative 'public/play.png'}}" />
|
||||
|
Loading…
Reference in New Issue
Block a user