1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2025-01-14 14:43:17 +08:00
pigallery2/frontend/app/gallery/lightbox/lightbox.gallery.component.html

28 lines
1012 B
HTML
Raw Normal View History

2016-04-30 18:33:07 +02:00
<div
2016-04-30 21:36:24 +02:00
[hidden]="!activePhoto"
2016-05-12 23:00:38 +02:00
>
<div class="blackCanvas" #blackCanvas>
2016-04-30 18:33:07 +02:00
</div>
2016-05-12 23:00:38 +02:00
<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>