Issue with iOS 16.7 photo upload?

I just tried on my desktop to upload an image that is 3.5MB, and it worked fine, the automatically resized version on Discourse became 222KB. And that’s exactly how I want it to work, so users don’t have to worry about resizing images, but at the same time they automatically become much smaller on the server. So maybe is there some kind of a difference in the way that iOS reports or enforces the image size limit that is set in Discourse?

EDIT:

This must be the issue. On my desktop I just tested uploading a 75MB (megabyte) image to my forum, and it accepted and resized it just fine.