lukasz-galka / ngx-gallery

Angular image gallery plugin
https://lukasz-galka.github.io/ngx-gallery-demo/
MIT License
436 stars 171 forks source link

Hi! Try to use this version for Angular 8, 9. #313

Open saifansari2 opened 4 years ago

saifansari2 commented 4 years ago

Hi! Try to use this version for Angular 8, 9. https://www.npmjs.com/package/@kolkov/ngx-gallery

i have tried this @kolkov/ngx-gallery but its not displaying images with api

means: dynamic images is not displaying with api post response..

static is working fine

saifansari2 commented 4 years ago

https://github.com/kolkov/ngx-gallery

this is not working with dynamic binding with api post response

static binding is working fine

Disflippant commented 4 years ago

Adding late styling using ngStyle worked for me, i.e. calling the component as:

<ngx-gallery [options]="galleryOptions" [images]="galleryImages" [ngStyle]="{display:'inline-block'}"></ngx-gallery>
saifansari2 commented 4 years ago

see its not working with webp format of image

working with jpg images.

what should i do to work with webp images

hxekyel commented 4 years ago

Adding late styling using ngStyle worked for me, i.e. calling the component as:

<ngx-gallery [options]="galleryOptions" [images]="galleryImages" [ngStyle]="{display:'inline-block'}"></ngx-gallery>

This works like a charm!