Show proper thumbnails on index

This commit is contained in:
Petr Sloup
2016-03-17 11:01:54 +01:00
parent 403bc949a5
commit 62a6917778
2 changed files with 8 additions and 2 deletions
+2 -2
View File
@@ -12,8 +12,8 @@
<ul>
{{#each styles}}
<li>
{{#if serving_raster}}
<img src="/raster/{{@key}}/0/0/0.png" width="32" alt="{{name}} preview" />
{{#if thumbnail}}
<img src="/raster/{{@key}}/{{thumbnail}}" width="64" alt="{{name}} preview" />
{{else}}
N/A
{{/if}}