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

Save the inspirational images #64

Open
bonnieli opened this issue Jan 20, 2021 · 0 comments
Open

Save the inspirational images #64

bonnieli opened this issue Jan 20, 2021 · 0 comments
Assignees

Comments

@bonnieli
Copy link
Contributor

bonnieli commented Jan 20, 2021

On select of inspirational images on create contest, they actually don't get saved or do anything at the moment. Change the db model and be able to store them.

Suggestion to start an Image model
This model should store the URL (this could be a s3 public url, or any image url) and the date it was created.

  1. Manually upload all all the current hardcoded inspo images to s3
  2. Write a migration to upload them to your db
  3. Load the images on the create contest page with the IDs attached to them
  4. Save the selected IDs to the Contest model
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

2 participants