simplify image loader
This commit is contained in:
parent
f915bc106e
commit
27e40da453
|
@ -1,6 +1,4 @@
|
||||||
{{#await imagePromise}}
|
{{#await imagePromise}}
|
||||||
<!-- 1x1 transparent png -->
|
|
||||||
<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII=" />
|
|
||||||
{{then src}}
|
{{then src}}
|
||||||
<img alt="Profile picture for @{{account.acct}}" src="{{account.avatar}}" />
|
<img alt="Profile picture for @{{account.acct}}" src="{{account.avatar}}" />
|
||||||
{{catch error}}
|
{{catch error}}
|
||||||
|
|
Loading…
Reference in New Issue