kolkov / ngx-gallery

A simple responsive native gallery component for Angular 8+.

Home Page:https://ngx-gallery.kolkov.ru/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Please add fileType property to NgxGalleryImage

axos88 opened this issue · comments

We store images by their md5 hashes, and do not include an extension.
the NgxGalleryService determines file type based on extension only, and does not show images this way.
In case the file type cannot be determined, a white box is shown, as both *ngIfs evaluate to false.

It would be great if the file types could be overridden manually in the image object, or the system would default to using an image if the file type cannot be determined

Ttry latest version please.