lukasz-galka / ngx-gallery

Angular image gallery plugin

Home Page:https://lukasz-galka.github.io/ngx-gallery-demo/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

css is not getting applied properly on Image

waqaskamran opened this issue · comments

I have tried to apply height css but its not applying on image .

`

@ViewChild('gallery') gallery: NgxGalleryComponent;

onProfileClick(){

this.previewImage(imagesWithDescriptions);

}

previewImage(imagesWithDescriptions: Array) {

    this.gallery.openPreview(0);
    this.gallery.height ='400px';
    console.log('image height..' + this.gallery.getImageHeight())

}
`
I am getting on console image is 100 percent , but what i am getting in actual very small image . how can i increase size of image . Thanks