-
Notifications
You must be signed in to change notification settings - Fork 3
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
feat: add support for user images via S3 #514
Conversation
app/Http/Controllers/DashboardAdminRandomGeneratorController.php
Outdated
Show resolved
Hide resolved
app/Http/Controllers/DashboardAdminRandomGeneratorController.php
Outdated
Show resolved
Hide resolved
The issue (#514) suggests to add an image attribute to the user? Do you think we can get rid of this because we save the image in a given format? What do you think @TitusKirch, because you created the issue? |
I've tested the s3 upload and there were no problems with a missing certificate. |
app/Http/Controllers/DashboardAdminRandomGeneratorController.php
Outdated
Show resolved
Hide resolved
app/Http/Controllers/DashboardAdminRandomGeneratorController.php
Outdated
Show resolved
Hide resolved
Should the attribute "img" be added to a user to get the image uuid? |
S3 Upload / Zugriff hinzugefügt (creds bei Simon Anfragen und in .env hinzufügen). Für das Anzeigen der Bilder braucht curl in php ein certificate (kann ich ggf. schicken falls jemand Probleme hat). Bilder Namen beim Upload sind egal Sie werden im Hintergrund mit Vorname Nachname Course ID benannt. Entprechend greift man so auch auf die Bilder zu.