ionic-image-loader
ionic-image-loader copied to clipboard
Is ionic 5.4.13 supported? I receive a run time error
I'm using ionic 5.4.13, angular 8. I tried to import ionic-image-loader, may be it is not supported. I imported the module in app.modules.ts as described in README and then I added the module in my page module. But I receive this error:
core.js:9110 ERROR Error: Uncaught (in promise): Error: Template parse errors:
Can't bind to 'src' since it isn't a known property of 'img-loader'.
1. If 'img-loader' is an Angular component and it has 'src' input, then verify that it is part of this module....
if you are using lazy loading (default in ionic 4+), you need to import the image loader in the page's module. Only app module will not work.
Bruh not even Ionic 4 is supported
Actually there is a branch that supports Ionic >= 4 I am using it with Ionic 5 and Angular 9
https://github.com/zyra/ionic-image-loader/tree/v4