2020-07-09 20:19:07 +00:00
|
|
|
<a data-test-image-link href={{this.src}} target="_blank" rel="noopener noreferrer" class="image-file-image">
|
|
|
|
<img data-test-image src={{this.src}} alt={{or this.alt this.fileName}} title={{this.fileName}} onload={{action this.updateImageMeta}} />
|
2019-07-02 14:52:47 +00:00
|
|
|
</a>
|
2019-07-02 19:59:57 +00:00
|
|
|
<figcaption class="image-file-caption">
|
|
|
|
<span class="image-file-caption-primary">
|
2020-07-09 20:19:07 +00:00
|
|
|
<strong data-test-file-name>{{this.fileName}}</strong>
|
|
|
|
{{#if (and this.width this.height)}}
|
|
|
|
<span data-test-file-stats>({{this.width}}px × {{this.height}}px{{#if this.size}}, {{format-bytes this.size}}{{/if}})</span>
|
2019-07-02 14:52:47 +00:00
|
|
|
{{/if}}
|
|
|
|
</span>
|
|
|
|
</figcaption>
|