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

Image component #27

Open
yocontra opened this issue Apr 10, 2015 · 3 comments
Open

Image component #27

yocontra opened this issue Apr 10, 2015 · 3 comments

Comments

@yocontra
Copy link
Member

This would basically copy the instagram component.

Features:

  • Background color
  • Loading indicator
  • Lazy load based on if it is visible or not (optional feature)
  • If the load fails or times out, show a "Click to retry"
@yocontra
Copy link
Member Author

The UserImage component would rely on this. For glance this would improve a ton of stuff on the site.

@yocontra
Copy link
Member Author

Other features:

  • animate in on load (fade by default)
  • retina image support (srcSet basically)

@yocontra
Copy link
Member Author

Ability to pick from different fill mode: cover, contain, stretch (fill)

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