2016-04-27 22:37:07 +02:00
|
|
|
<div #gridContainer *ngIf="directory" (window:resize)="onResize()" >
|
2016-04-09 15:19:25 +02:00
|
|
|
<gallery-photo
|
2016-04-28 23:25:25 +02:00
|
|
|
*ngFor="let gridPhoto of photosToRender"
|
2016-04-09 15:19:25 +02:00
|
|
|
*ngIf="gridPhoto"
|
2016-04-30 18:01:54 +02:00
|
|
|
(click)="lightbox.show(gridPhoto.photo)"
|
2016-04-09 15:19:25 +02:00
|
|
|
[photo]="gridPhoto.photo"
|
|
|
|
[directory]="directory"
|
|
|
|
[style.width.px]="gridPhoto.renderWidth"
|
|
|
|
[style.height.px]="gridPhoto.renderHeight"
|
2016-04-27 22:37:07 +02:00
|
|
|
[style.marginLeft.px]="IMAGE_MARGIN"
|
|
|
|
[style.marginRight.px]="IMAGE_MARGIN">
|
2016-04-09 15:19:25 +02:00
|
|
|
|
|
|
|
</gallery-photo>
|
|
|
|
</div>
|