Couchers-org / couchers

The next-generation couch surfing platform. Free forever. Community‑led. Non‑profit. Modern. Chuck us a star :)
https://couchers.org
MIT License
391 stars 78 forks source link

[pictures] being able to upload multiple pictures #3887

Open bakeiro opened 12 months ago

bakeiro commented 12 months ago

Me as frontend developer: I need an API link, some documentation/instructions of how to upload multiple pictures (it can be one pic by one if it's easier)

Tasks: Re-use/create an endpoint which receives images and uploads it somewhere, maybe receiving the user id as well to link the image to the profile

Notes: frontend task: https://github.com/Couchers-org/couchers/issues/4086 https://github.com/Couchers-org/couchers/blob/develop/docs/uploads.md

telfDavid commented 11 months ago

do not permit more than 2MB

telfDavid commented 11 months ago

define first these points:

bakeiro commented 10 months ago

image

bakeiro commented 7 months ago

upload (profileId, categoryName, imageUrl) get (profileId, category) remove (imageUrl)

schradert commented 6 months ago

Consensus from 5/28 developer meeting is that this should be gated behind the strong verification feature to prevent abuse we can't sufficiently moderate.

Implementation can be of multiple albums that will have an owner, a picture order, a caption for each photo, and a photo count and size limit.

Some relevant commentary on forums https://community.couchers.org/t/how-many-profile-photos-should-users-be-allowed-to-upload/65

spreeni commented 3 weeks ago

More discussion on the implementation is in https://github.com/Couchers-org/couchers/issues/4092. As I haven't worked on it for a while, I will un-assign myself until I see time to work on it.