Issue uploading images

Latest news… “Microsoft’s new open store policies have finally made it possible for third-party browsers like Firefox to appear in the Microsoft Store.”

The store now already includes Opera and a lesser known one.

The old days of effective banning of NON-MS browsers is gone. These browsers are not modified by Microsoft.

3 Likes

Seems to be working somewhat. I use uMatrix and enabled access to discourse-cloud-file-uploads.s3.us-west-2.amazonaws dot com. Sometimes I have to try a second time to drag and drop the image.

3 Likes

I don’t know what you just said but it sounds like a pain in the rear. :laughing:
Glad it works, kinda.

3 Likes

uMatrix is a browser plug-in that blocks ads and trackers, it’s sometimes over eager and blocks functionality as well, and you have to tell it to allow a certain server connection (such as image uploads in this case) through.

6 Likes

I think @TravelEcho had this issue and @DevilinPixy helped solve it but I cannot remember where it is…so…anyway, my screenshots in Steam are now saving as JPG and will not upload to the forum. I am having to run them through Paint and convert them to JPEG…any suggestions? Is there a setting someplace?
and this is not really a NMS issue so maybe it needs to be under general discussion? IDK

3 Likes


Try this tip from NMSSpot, in the Steam settings, you can choose uncompressed screenshots.

4 Likes

Thanks! I will try that and I wish updates would stop messing with my settings.

2 Likes

I think you may be referring to this topic:

I am not sure if this is a ‘permission’ issue as was the case in the topic above. This appears to be related to the format used, which is odd, as Discourse should be able to accept most image formats. Then again, permissions could change depending on the location, and/or perhaps even the application used.

The jpg and jpeg extensions are identical when it comes to the file content/data, just a 3-letter extension created to support old DOS and FAT16 back in the days.

Could you do a test? You say that the Paint result does upload, right? Could you instead of converting through Paint, just copy the image as is, to the location where Paint actually stores them? This way we can figure out if it is the location or actually the extension/application used.

Also curious to know what browser you are using?

1 Like

I am using Chrome. Will run that test as soon as I am up for the day…


Well, that worked. I copied and pasted the pic from my Steam screenshots folder to my NMS folder that I use when editing in Paint. It posted just fine without any reformatting.
But if I drag straight from my Steam screenshot folder, it will not post
Here is the message

I am seeing comments on other forums that this is Chrome blocking the file even though there is no system info in the file…?

1 Like

It is a protected folder, as are many others nowadays. Requires to set permissions to be allowed for use by other applications. Should be somewhere in the Win Security settings. Might be able to find it in a system notification, but Windows is known to bug out on those. Could also require a change in browser settings, not sure?

2 Likes

I looked and saw this


I find Chrome settings infuriating…so this issue will likely not get resolved. Can’t find anything there to suggest why this is happening.


But most definitely a Chrome issues since this pic above was posted using Firefox…I would use Firefox all the time except it also has issues with certain features so I rotate between the two.

2 Likes

Ok, good to know this is browser specific, and at least not specific to Windows, unless FF is actually doing something specific in Windows to allow for it to work.

Do you have any extensions installed with Chrome?

2 Likes

Just found the following in the Chromium Code :link:

#if BUILDFLAG(IS_WIN)
    // Some Windows specific directories to block, basically all apps, the
    // operating system itself, as well as configuration data for apps.
    {base::DIR_PROGRAM_FILES, nullptr, kBlockAllChildren},
    {base::DIR_PROGRAM_FILESX86, nullptr, kBlockAllChildren},
    {base::DIR_PROGRAM_FILES6432, nullptr, kBlockAllChildren},
    {base::DIR_WINDOWS, nullptr, kBlockAllChildren},
    {base::DIR_ROAMING_APP_DATA, nullptr, kBlockAllChildren},
    {base::DIR_LOCAL_APP_DATA, nullptr, kBlockAllChildren},
    {base::DIR_COMMON_APP_DATA, nullptr, kBlockAllChildren},
    // Opening a file from an MTP device, such as a smartphone or a camera, is
    // implemented by Windows as opening a file in the temporary internet files
    // directory. To support that, allow opening files in that directory, but
    // not whole directories.
    {base::DIR_IE_INTERNET_CACHE, nullptr, kBlockNestedDirectories},
#endif

Those are the folders that Chrome considers to contain ‘system files’

Related: Chromium Bugs :link:

Not quire sure on the solution, other than trying a different location to choose from

Merging this topic here, considering the similarities and not being NMS specific

3 Likes

No extensions

2 Likes

If you are using the Steam default images (.jpg), it would be a ‘child’ of ‘Program Files (x86)’. Trying just that, does indeed fail for me as well.

So using Chrome on Windows, it will just have to be a different file location to be allowed.

2 Likes

Since Microsoft Edge now uses a Chromium base, likely this supplies to Edge as well.

2 Likes

I wonder why it suddenly changed

2 Likes

Security reasons in general, and likely the way things have changed over time where apps are now often just a browser thing made to look local. How much of a threat these folders actually pose, I am not sure of. It does however appear to be hardcoded into Chrome. Nowadays anything outside of user folders require permissions it feels like, at least on Windows. Can’t say I like these changes much, but I will just assume there is a reason.

2 Likes

Yep. It’s based on increased system security.

AWS by default even blocks display of PDF within a browser now.

2 Likes