2016-05-13 14:27:00 +02:00
|
|
|
<div class="imgContainer" #imgContainer>
|
2018-03-30 15:30:30 -04:00
|
|
|
<img *ngIf="showThumbnail()"
|
|
|
|
[style.width.%]="imageSize.width"
|
|
|
|
[style.height.%]="imageSize.height"
|
2018-11-02 10:40:09 +01:00
|
|
|
[src]="thumbnailSrc"/>
|
2016-05-13 14:27:00 +02:00
|
|
|
|
2018-11-02 10:40:09 +01:00
|
|
|
<img *ngIf="gridPhoto !== null && loadImage && photoSrc"
|
2017-07-15 23:54:17 +02:00
|
|
|
[style.width.%]="imageSize.width"
|
|
|
|
[style.height.%]="imageSize.height"
|
2018-11-02 10:40:09 +01:00
|
|
|
[src]="photoSrc"
|
2017-07-15 23:54:17 +02:00
|
|
|
(load)="onImageLoad()"
|
|
|
|
(error)="onImageError()"/>
|
2017-03-25 21:59:30 +01:00
|
|
|
|
2016-05-13 14:27:00 +02:00
|
|
|
</div>
|
|
|
|
|
|
|
|
|