image loading is modified

This commit is contained in:
2019-10-17 16:57:37 +09:00
parent a342dda830
commit 7ab38da3cb
11 changed files with 120 additions and 32 deletions

View File

@@ -51,10 +51,17 @@
<ul>
<li *ngIf="getUserProfile(message.senderSeq) != ''">
<img
[src]="getUserProfile(message.senderSeq)"
onerror="this.src='assets/images/img_nophoto_50.png'"
class="avatar"
style="width: 50px; height: 50px;"
[src]="
profileImageRoot
| ucapUiImaage
: {
path: getUserProfile(message.senderSeq),
default: 'assets/images/img_nophoto_50.png'
}
| async
"
/>
</li>
<li>