ionic-image-loader icon indicating copy to clipboard operation
ionic-image-loader copied to clipboard

Is ionic 5.4.13 supported? I receive a run time error

Open etcware opened this issue 5 years ago • 3 comments

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....

etcware avatar Feb 14 '20 09:02 etcware

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.

gaurav-chandra avatar Mar 18 '20 05:03 gaurav-chandra

Bruh not even Ionic 4 is supported

Fieel avatar Jun 23 '20 12:06 Fieel

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

pcsantana avatar Oct 09 '20 11:10 pcsantana