If there were anyway to make it clear this would happen in the preview, that would make it a lot less surprising.
Also, it wasn’t clear to me what “too large” meant, as there are site settings both for file size and for dimensions. I wasn’t sure which setting would need adjusting with the current language.