angular-img-fallback icon indicating copy to clipboard operation
angular-img-fallback copied to clipboard

Loading and Fallback doesn't work properly together

Open an-rahulpandey opened this issue 9 years ago • 1 comments

Hi,

I am using the img tag as -

<img class="avatar" height="40" ng-src="{{ user.picture }}" fallback-src="images/no-profile-image.jpg" loading-src="images/img-loading.gif" />

However, when the image is not present on the server, it shows the loading image forever instead of showing the fallback image. i.e if original image resulted in 404 error, then it should fallback to fallback-src, however it just keep showing the loading src.

an-rahulpandey avatar Aug 23 '16 10:08 an-rahulpandey

Any solution to this?

ahmed-abdulmoniem avatar Nov 06 '16 17:11 ahmed-abdulmoniem