1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2024-11-03 21:04:03 +08:00
pigallery2/frontend/app/gallery/lightbox/photo/photo.lightbox.gallery.component.html
2018-11-02 10:40:09 +01:00

17 lines
428 B
HTML

<div class="imgContainer" #imgContainer>
<img *ngIf="showThumbnail()"
[style.width.%]="imageSize.width"
[style.height.%]="imageSize.height"
[src]="thumbnailSrc"/>
<img *ngIf="gridPhoto !== null && loadImage && photoSrc"
[style.width.%]="imageSize.width"
[style.height.%]="imageSize.height"
[src]="photoSrc"
(load)="onImageLoad()"
(error)="onImageError()"/>
</div>