Profile Banners / Attachment size limit

Eluvatar

TNPer
-
-
-
Pronouns
he/him/his
TNP Nation
Zemnaya Svoboda
Discord
Eluvatar#8517
The issue with uploading profile banners should be resolved now thanks to profile banner specialist Eluvatar. If you are still getting an error message, check the file size as we limit the size of attachments to 2048 KB or less.

I would appreciate it if somebody interested in this could confirm whether 2M is the limit for banners. (The error message isn't very informative, and I haven't been able to find a setting in the ACP specific to profile banner size).

Also, once we confirm/know what the limit is, I think we're open to a conversation about what the limit should be, whether for profile banners or for attachments in general. I imagine 2 megabytes is a little restrictive for, say, a map, but we do not have unlimited room for attachments on the server.

As I've mentioned elsewhere, we are currently using a 'droplet' (virtual server) with 50GB in local disk space. We currently use 52M for attachments, 86M for profile banners, 524M for avatars, and 1.7G for the image cache. (This contains images that have been recently loaded that somebody embedded using an [img] tag). We could at the absolute most use 25GB more space for uploaded files. Any more than that and we'd risk cornering ourselves into needing to delete something important to upgrade the OS, backup the forum for an update, or perform some other essential task.

If there's interest in using 20G or more more of attachments, I'd want to look into using some kind of cloud storage for them in the back end.
 
Last edited:
I googled "2 megabyte image" and tried uploading this 2.3 MB image as my profile banner, which the system rejected:
Oops! We ran into some problems. Please try again later. More error details may be in the browser console.
I checked the browser console, and this error seemed most relevant:
Code:
PHP: <html>
<head><title>413 Request Entity Too Large</title></head> 
<body> 
<center><h1>413 Request Entity Too Large</h1></center> 
<hr><center>nginx/1.22.0</center> 
</body> 
</html>
 
Back
Top