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 has been archived by the owner on Apr 12, 2024. It is now read-only.
<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 encode string"> replaces src with data-src attribute in chrome, safari (webkit), not in firefox (didn't expect it to do anything).
<img src="base64 encode string" data-src="{{imgsrc}}"> replaces src with data-src attribute in firefox, not in webkit browsers (didn't expect it to do anything).
So 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!
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
If you use data-src attribute angular loads the image depending the position of the attribute.
http://jsfiddle.net/ryo2vg88/3/
The text was updated successfully, but these errors were encountered: