You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
When you both have a data-src and src attribute on an image angular somehow tries to resolve it but it doesn't work consistently across browsers!
Can someone please elaborate:
<img data-ng-src="{{imgsrc}}"> adds a src on the image tag (expected)
<img data-src="{{imgsrc}}"> doesn't do anything (expected).
<img data-src="{{imgsrc}}" src="base64 encoded placeholder"> replaces src with data-src attribute in webkit browsers (chrome, safari), not in firefox or IE (didn't expect it to do anything).
<img src="base64 encoded placeholder" data-src="{{imgsrc}}"> replaces src with data-src attribute in firefox, not in webkit browsers or IE (didn't expect it to do anything).