Having an issue with images' width getting cut off on desktop

AI-generated summary

User b481 reported that images uploaded to their forum are being cut off on desktop, despite displaying correctly on mobile and when opened in a new tab. The issue began after a certain point and affected only newer uploads, even though older high-res images from the same camera remained unaffected. They had already set “max image width” and “max image height” to their maximum values without success. awesomerobot suggested checking for custom themes or testing in safe mode, while Falco asked for the values of “max image width” and “min ratio to crop”. b481 confirmed “min ratio to crop” was set to 0.0 and “max image width” to 2000000000 — the highest possible. Falco identified this as the root cause and advised resetting both settings to default. After resetting “min ratio to crop”, b481 confirmed the issue was resolved and thanked both Falco and awesomerobot b481.

I’ve been running into a problem on my forum as of late. When I upload or link to photos, they’re not scaling down as they used to, so if they’re of a certain size or width they just get cut off. If I right click the photo and click “open image in new tab” I can view the full size version.

Here’s an example:

The original:

this only affects photos that were uploaded past a certain point, as ones from before then still look the same, including those with high resolutions uploaded from the same camera used for the example photo. I’m failry sure it’s a setting I changed, but if it is, I haven’t found which one. I’ve already set the “max image width” and “max image height” to their max, yet the issue persists.

Oddly enough, this isn’t an issue on mobile, as can be seen in the image below. I know it’s not just me however, as one of a user messaged me about it yesterday.

Looks like the image displays as expected here…

Do you have any custom themes installed? Does the image appear the same way in safe mode?

What are the values of the settings max image width and min ratio to crop ?

min ratio to crop is set at “0.0”

max image width is set at “2000000000”, the highest value it can be.

That is your problem. Reset the settings to the default values.

done. going to test now

it worked! thanks @Falco and @awesomerobot!