Tested it again just now. It says “uploaded image is too large”. Tried it again with a picture that was one pixel by one pixel. Still I get the same warning.
It’s been like this for a month (due to Lemmy disabling the feature to combat people posting risque material). They did this by reducing the maximum image size to zero.