-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Share avatar #4236
Share avatar #4236
Conversation
screen, and generates image from it
custom solution. refactor from pages/* to export/*
redirect to homepage + show member modal
… use of nested nconf keys
Total amount of XP needed to level up is also missing, at least from the On Wed, Nov 12, 2014 at 1:35 PM, Tyler Renelle notifications@github.com
|
From mobile. Just a quick note abiut downloading: html5 allow for direct
|
@paglias sorry, I'm a bit confused on that comment. could you elaborate? (can wait till you're at a keyboard if you want) |
Sorry it was written a bit fast. If you add the 'download' attribute to the
|
See http://demo.hongkiat.com/html5-download-attribute/ for an example
|
Adds ability to share your avatar on social networks. A "Share" button appears top-right when hovering over your avatar:
It includes a download link which simply downloads an image of your avatar (rather, redirects to the s3 link from which you can download). When you click share on the social networks, the link will redirect to /static/front#?memberId=XXX which gives you a modal of the avatar:
There are a few missing bits, but most is there. TODO:
Technical details: the download link requires S3 credentials, as well as pageres which depends on PhantomJS. To get that working, you'll need to install PhantomJS locally. To get it working on Heroku, follow these instructions (take note of the follow-up comment)