zyra / ionic-image-loader

Ionic 2+ Component that loads images in a background thread and caches them for later use
MIT License
436 stars 137 forks source link

Image does not load when using fallbackUrl #259

Open jerodfritz opened 4 years ago

jerodfritz commented 4 years ago

The fallback image loads properly but the actual image src does not load when using these options:

this.imageLoaderConfig.setFallbackUrl('assets/img/fallback.png');
this.imageLoaderConfig.enableFallbackAsPlaceholder(true);
cr1pt0r0 commented 4 years ago

Hi. I'm having the same Issue.

tankejaures commented 4 years ago

The fallback image loads properly but the actual image src does not load when using these options:

this.imageLoaderConfig.setFallbackUrl('assets/img/fallback.png');
this.imageLoaderConfig.enableFallbackAsPlaceholder(true);

It same for me

pirufio commented 4 years ago

same for me

dlimanto commented 4 years ago

actually i'm having the same issue if i dont use useImg attribute. It is only working when i use useImg attribute (i dont want render my image as an img), any solution to this problem ?

casper5822 commented 4 years ago

Same problem for me. It only works with useImg