InfectedLan / InfectedAPI

Backend for Infected's web solutions.
GNU Lesser General Public License v3.0
3 stars 2 forks source link

Increase avatar upload filesize #185

Closed petterroea closed 8 years ago

petterroea commented 9 years ago

This because images are in some cases larger then our current limit, and they are downscaled and compressed by the cropper anyways, so it won't be there for long.

I suggest we up it to 30 MiB.

Places that need changing:

If the numbers do not match, the user will get a cryptic "we got an unknown upload error: 1. Please tell our technicians about this" or something like that, message.

halvors commented 9 years ago

Make it 32MB, and sure go ahead.

halvors commented 8 years ago

@petterroea Are you sure need to change things in Settings.php, only resolution stuff is handled there.

petterroea commented 8 years ago

Hmm? I am pretty sure.

halvors commented 8 years ago

@petterroea I can take this task, if it's ok with you :)

halvors commented 8 years ago

Done.

petterroea commented 8 years ago

Sweet stuff, what commit?