Increase maximum background image upload size #135

Closed
opened 2026-02-20 11:16:25 -05:00 by deekerman · 8 comments
Owner

Originally created by @git-zombie on GitHub (Aug 10, 2018).

As a Heimdall user, I want to upload a high-res background image so that Heimdall looks pretty on my ultra-wide.

Background:

  • I was trying to upload a 3.87MB image and Heimdall was reporting a successful change but would not actually change the image.

Specific Fix:
Adding the line upload_max_filesize = 10M to my php-local.ini file increased the limit for upload and allowed me to upload the 3.87MB image I had been working with.

Possible solutions:

  • Document the specific fix above in the readme for the user to implement
  • Include the increased upload size fix (shown above) as a default
  • Notify the user in the dialogue of the max file size

Relates to: #4

Originally created by @git-zombie on GitHub (Aug 10, 2018). As a Heimdall user, I want to upload a high-res background image so that Heimdall looks pretty on my ultra-wide. *Background:* - I was trying to upload a 3.87MB image and Heimdall was reporting a successful change but would not actually change the image. *Specific Fix:* Adding the line `upload_max_filesize = 10M` to my php-local.ini file increased the limit for upload and allowed me to upload the 3.87MB image I had been working with. *Possible solutions:* - Document the specific fix above in the readme for the user to implement - Include the increased upload size fix (shown above) as a default - Notify the user in the dialogue of the max file size Relates to: #4
Author
Owner

@KodeStar commented on GitHub (Aug 15, 2018):

For anyone with the same issue, this is specific to the docker rather than heimdall itself, no restrictions are placed within Heimdall itself, I asked the OP to add this issue so I could look at adding better error trapping for when it fails to upload

@KodeStar commented on GitHub (Aug 15, 2018): For anyone with the same issue, this is specific to the docker rather than heimdall itself, no restrictions are placed within Heimdall itself, I asked the OP to add this issue so I could look at adding better error trapping for when it fails to upload
Author
Owner

@KodeStar commented on GitHub (Oct 12, 2018):

Added to readme so people can set it to whatever size they need

@KodeStar commented on GitHub (Oct 12, 2018): Added to readme so people can set it to whatever size they need
Author
Owner

@spencerskinner99 commented on GitHub (Nov 27, 2018):

I am unable to find the readme you're refering to in my docker config directory, what should I be doing to edit the file size limit?

@spencerskinner99 commented on GitHub (Nov 27, 2018): I am unable to find the readme you're refering to in my docker config directory, what should I be doing to edit the file size limit?
Author
Owner
@j0nnymoe commented on GitHub (Nov 27, 2018): https://github.com/linuxserver/Heimdall#new-background-image-not-being-set
Author
Owner

@spencerskinner99 commented on GitHub (Nov 27, 2018):

Just worked it out as i posted this, thanks for the speedy response though!

@spencerskinner99 commented on GitHub (Nov 27, 2018): Just worked it out as i posted this, thanks for the speedy response though!
Author
Owner

@doodlebro commented on GitHub (May 2, 2022):

This issue should be re-opened. There is a secondary limit (around 8MB) regardless of what is set in php-local.ini. I am not sure what is setting this alternate limit. I tried setting upload_max_filesize = 30M and 10M and checked the error logs when I kept getting 413 responses back:

POST Content-Length of 8553000 bytes exceeds the limit of 8388608 bytes

After this, I tried a half size file of the same image, which worked.

@doodlebro commented on GitHub (May 2, 2022): This issue should be re-opened. There is a secondary limit (around 8MB) regardless of what is set in php-local.ini. I am not sure what is setting this alternate limit. I tried setting upload_max_filesize = 30M and 10M and checked the error logs when I kept getting 413 responses back: > POST Content-Length of 8553000 bytes exceeds the limit of 8388608 bytes After this, I tried a half size file of the same image, which worked.
Author
Owner

@HannesJo0139 commented on GitHub (May 25, 2022):

This issue should be re-opened. There is a secondary limit (around 8MB) regardless of what is set in php-local.ini. I am not sure what is setting this alternate limit. I tried setting upload_max_filesize = 30M and 10M and checked the error logs when I kept getting 413 responses back:

POST Content-Length of 8553000 bytes exceeds the limit of 8388608 bytes

After this, I tried a half size file of the same image, which worked.

I'm a bit confused too, since increasing max filesize worked for me some months ago. However, adjusting max post size solves the issue.

upload_max_filesize = 20M
post_max_size = 20M
@HannesJo0139 commented on GitHub (May 25, 2022): > This issue should be re-opened. There is a secondary limit (around 8MB) regardless of what is set in php-local.ini. I am not sure what is setting this alternate limit. I tried setting upload_max_filesize = 30M and 10M and checked the error logs when I kept getting 413 responses back: > > > POST Content-Length of 8553000 bytes exceeds the limit of 8388608 bytes > > After this, I tried a half size file of the same image, which worked. I'm a bit confused too, since increasing max filesize worked for me some months ago. However, adjusting max post size solves the issue. ``` upload_max_filesize = 20M post_max_size = 20M ```
Author
Owner

@EDIflyer commented on GitHub (Jul 19, 2022):

Would definitely be great if this error could be caught on upload and the user warned.

@EDIflyer commented on GitHub (Jul 19, 2022): Would definitely be great if this error could be caught on upload and the user warned.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Heimdall-linuxserver#135
No description provided.