CaramelFur / Picsur

An easy to use, selfhostable image sharing service like Imgur with built in converting
https://picsur.org/
GNU Affero General Public License v3.0
802 stars 42 forks source link

Multiple pictures to drop and share as a simple Gallery #16

Open mrg358 opened 1 year ago

mrg358 commented 1 year ago

Feature request Only one feature I really miss is "multiple pictures to drop and share as a simple gallery". Many file sharing self-hosted options out there, but none of them has what I am looking for. This would be so, so nice to have :) Thanks for the good job so far.

CaramelFur commented 1 year ago

This has already been suggested in another issue, but I'll leave it up since the main issue there is something else. But I'm working on it right now, its taking quite some work tho to make sure that you don't run out of resources when trying to upload a shitton of images.

mrg358 commented 1 year ago

Just a suggestion, not sure if helpful. Maybe an option to limit the number of uploaded files and do the upload in batches. User configured option. E.g. a low spec Picsur instance could set up upload limited to 10 or even just 5 files at once. Important thing would be to keep the option to add files into existing albums later on, until user decides to close the album.

I know this doesn't entirely solve the problem of overload or abuse the system, but I think some kind of user defined limits would be reasonable to have.

CaramelFur commented 1 year ago

That is a thing I could do, but the problem there is that it only works if you know only one user is using the system. Since it supports multiple users you could still have a situation where multiple users upload the full maximum of images, and manage to go over the system resources. I'm currently trying to implement a queueing system that schedules conversions as long as there are resources available. That should hopefully be more reliable.

mrg358 commented 1 year ago

You are right, I was thinking about these limits in a single user instance. Basically what I really meant was admin defined limits, not user defined. Only the admin should decide how much load his instance could take. Queueing system sounds perfect, I am really looking forward to this one.