Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use ng-src instead of src #4

Open
CarstenLeue opened this issue Apr 10, 2017 · 0 comments
Open

use ng-src instead of src #4

CarstenLeue opened this issue Apr 10, 2017 · 0 comments

Comments

@CarstenLeue
Copy link

For dynamically generated image URLs I suggest to use ng-src to avoid an invalid lookup request, i.e. instead of

<img alt="{{card.title}}" src="{{card.thumbnail}}" />

write

<img alt="{{card.title}}" ng-src="{{card.thumbnail}}" />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant