Closed brianaleew closed 1 year ago
Are you following the way we did in class with AWS or trying out a different way?
No, I didnt use AWS. I just added an ImageField to the Apparel model.
If you want to use AWS you can add a Photo model instead that has a foreign reference key of the model you want to add images to (Apparel model). I would go through the lesson we went over with AWS and let us know if there are issues. Here's a link to the Timm's CatCollector for reference: https://github.com/sei-ec-remote/cat-collector Link to the AWS Lesson: https://git.generalassemb.ly/sei-ec-remote/cat-collector/blob/main/6-django-uploading-images-s3.md
What stack are you using?
(ex: MERN(mongoose + react), DR(django + react), PEN, etc.)
Django
What's the problem you're trying to solve?
My user uploaded images refuse to show up on any page
Post any code you think might be relevant (one fenced block per file)
If you see an error message, post it here. If you don't, what unexpected behavior are you seeing?
All other features of apparel show up except for apparel.img
What is your best guess as to the source of the problem?
I think my media files are not setup correctly. A bit confused on exactly what is needed to make user uploaded images
What things have you already tried to solve the problem?
Looked at a few articles and played around with how its accessed in the template
Paste a link to your repository here https://github.com/brianaleew/GA-Final-Project