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

Allow admins to upload hero images for the site through an admin #142

Open
3 tasks
Cara-Jo opened this issue Jan 31, 2015 · 2 comments
Open
3 tasks

Allow admins to upload hero images for the site through an admin #142

Cara-Jo opened this issue Jan 31, 2015 · 2 comments

Comments

@Cara-Jo
Copy link
Member

Cara-Jo commented Jan 31, 2015

Instead of having images for the headers (hero images) be static, let's find a way to have admins upload images through the admin.

Acceptance criteria:

  • Create a page for admins to upload hero images.
  • Create a way for admins to crop images to a specific aspect ratio after upload.
  • New image appears on the selected pages.
@westonplatter
Copy link
Contributor

@Cara-Jo for some reason this popped up on github for me today. Do you have a desired storage backend? For example, google drive, AWS s3, etc? I'd suggest google drive since we could probably rig this up for free (using AWS = 💰).

One of many possible ways of doing this, would be to use https://github.com/tors/jquery-fileupload-rails to handle the upload, cropping, and saving in tandem with either Paperclip or Carrierwave.

@Roenok
Copy link
Contributor

Roenok commented Nov 16, 2016

@westonplatter The site already supports image upload; we use it for chapter leader headshots and sponsor logos.

In general, though, I don't think there is much need for this feature. We have not ever changed the hero image in many years of using the site. If we need to change it at some point, it would be a very small pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants