FIX: ShrinkUploadedImage was broken since cb12a721 (PR #13474)

GitHub