1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2024-11-03 21:04:03 +08:00
pigallery2/frontend/app/gallery/lightbox/lightbox.gallery.component.html
2016-05-12 23:00:38 +02:00

28 lines
1012 B
HTML

<div
[hidden]="!activePhoto"
>
<div class="blackCanvas" #blackCanvas>
</div>
<div class="lightbox" #lightbox>
<div #imgContainer class="imgContainer">
<img *ngIf="activePhoto"
[style.width.%]="imageSize.width"
[style.height.%]="imageSize.height"
[src]="activePhoto.gridPhoto.getThumbnailPath()"/>
<img *ngIf="activePhoto"
[style.width.%]="imageSize.width"
[style.height.%]="imageSize.height"
[src]="activePhoto.gridPhoto.getPhotoPath()"/>
</div>
<div id="navigation-arrow-container">
<div class="navigation-arrow" id="leftArrow" (click)="prevImage()"><span
class="glyphicon glyphicon-chevron-left"></span></div>
<div class="navigation-arrow" id="rightArrow" (click)="nextImage()"><span
class="glyphicon glyphicon-chevron-right"></span></div>
</div>
</div>
</div>