Cannot Upload own Background Image

Description of the issue: When I try to upload my own image for Brave, the browser is stuck on uploading and never uploads the file. It used to work for me and now I have zero images able to be uploaded. I have reinstalled the Brave browser, the browser is up to date and I have deleted my cache. Any help would be appreciated.

**Steps to Reproduce (add as many as necessary): 1. Uploaded photos in the past 2. Currently unable to upload any photos 3. Tried deleting all current photos and now none of my personal wallpapers are remembered by the browser. **

Actual Result (gifs and screenshots are welcome!):

Operating System and Brave Version(See the About Brave page in the main menu): Windows 11 Brave v 1.85.118

While I’m just a user here I’ll attempt to see what I can do. I was able to set my background, so I wasn’t able to reproduce this, but I did track to see where the backgrounds are actually being stored.

First, from a File Explorer window, go to the address bar and type in %localappdata% like so:

Then navigate through the following directories:
BraveSoftware > Brave-Browser > User Data > Default > sanitized_background_images

This directory contains every custom background you have ever set. For me I added two then deleted one, and only one remains:

For you, is this directory actually empty? Since you deleted everything and none show up in Brave, this folder should be empty.

From there, we can see if there are permissions issues. Such as the fact you should have full read/write permissions to this folder (in fact it should look identical to mine):

(Both the 2 groups and 1 user, you, should actually all 3 have identical permissions.)

In most cases when this happens, the folder lost the permissions for some reason, and is why it can’t set a new background. (Though, curiously it shouldn’t be able to delete them either, which is why I’m curious if the directory is empty or not.)

1 Like

Thanks for you advice however I have checked the folder permissions and all accounts have allpermissions for the ‘sanitized_background_images’ except for the special permissions. I attempted to manually place the image into ‘sanitized_background_images’ and that doesn’t work. As above uploading still does not work and is stuck in uploading forever. Any help would be appreciated!

Thanks for checking! Ok so permissions were good, and it was empty which means it was correctly deleting them.

I can confirm though, Brave has to be the one to inject the photos, as if I drop a photo in directly, it never shows up in Brave.

At this point we’ll wait for a Brave dev to chime in, as folder looks good, and permissions look good. (But don’t drop anything in this folder yourself, I can confirm it won’t work sadly, good idea to test though!)

I think the problem lies with trying to upload multiple or having more than 6 pictures as a background. I am able to upload 6 photos but after I am unable to upload anymore. After I reinstall and delete my Brave Appdata when I drop the folder of photos to be used on Brave, curiously Brave uploads the same 6 photos every time and is unable to upload different photos. Is it because the sanitized background folder have the property being Read-only like most folders in AppData?

Help please!

No, that’s actually normal because it’s more complex than just Read Only, hence it’s a hyphen, not a checkmark. It’s the same here (and even on files and folders on my desktop as well:



(Example from a folder on my desktop that too has a hyphen in Read Only).

Unfortunately I’m just not sure, but I did run into a picture here on my computer that Brave was unable to process and hung up like your original post and it was a 20MB photo. However, another large photo at 25MB, didn’t stall and was “sanitized”. I honestly just don’t know.

It’d be nice if a dev chimed in, looked at what we have tried and added their opinions on the issue.

The only limitations I know of with respect to number of images is that the limit (at this time) is 48 images. Not sure about the image size limitation – can look into this.

To clarify, @yipsterhipster when you open the browser at this time and click NTP Settings --> Background images --> Upload from device, select multiple images (lets say 10) does the browser still stop uploading at 6 images?

Additionally just to confirm, you are at this time using the latest browser build (v1.86.142)?

I have identified the root cause of the issue. It is related to the image dimensions being used.

I tested two images—one with dimensions 7360×4912 and another with 4400×2475—by attempting to upload them as a background image in Brave. Only the 4400×2475 image was accepted. I then resized the larger image (7360×4912) to exactly 4400×2475 using Microsoft Paint. After resizing, Brave uploaded the image successfully, and I was able to set it as the background without any problems.

1 Like

Ahh, now I can replicate this. Yep, there’s a physical dimension limit it seems. I’ve tried backgrounds, but when I tried a photo from my phone (which is higher resolution than my screen), yep it locked up. So I can’t use photos from my phone unless I add a downscaling step manually.