mirror of
https://github.com/xuthus83/pigallery2.git
synced 2024-11-03 21:04:03 +08:00
f1d8364a2e
bug fixes with new image loading and fullscreen mode
17 lines
442 B
HTML
17 lines
442 B
HTML
<div class="imgContainer" #imgContainer>
|
|
<img *ngIf="showThumbnail()"
|
|
[style.width.%]="imageSize.width"
|
|
[style.height.%]="imageSize.height"
|
|
[src]="thumbnailPath()"/>
|
|
|
|
<img *ngIf="gridPhoto !== null"
|
|
[style.width.%]="imageSize.width"
|
|
[style.height.%]="imageSize.height"
|
|
[src]="gridPhoto.getPhotoPath()"
|
|
(load)="onImageLoad()"
|
|
(error)="onImageError()"/>
|
|
|
|
</div>
|
|
|
|
|