krateng / maloja

Self-hosted music scrobble database to create personal listening statistics and charts
https://maloja.krateng.ch
GNU General Public License v3.0
1.18k stars 69 forks source link

If a picture is too large upload is silently canceled #334

Open Magikh42 opened 9 months ago

Magikh42 commented 9 months ago

Hello, when drag and dropping an image to update an album or artist picture it happens that the image is silently rejected due too being too large There should be an error messages, or better, auto rescale the picture and use the rescaled version

TeaWhyDee commented 1 month ago

Maloja server 3.2.2 I can confirm, even 400kB image gets cancelled. I get a "413 Request Entity Too Large" reply on the POST requst.

TeaWhyDee commented 1 month ago

@Magikh42 in my case it was an issue with nginx. I modified my site config to allow larger images:

server {
        client_max_body_size 5M;

...

UPD: nevermind, honestly I don't know if this helped at all