css is not getting applied properly on Image
waqaskamran opened this issue · comments
waqaskamran commented
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