Unfortunately FoF Upload only does server-side resizing, so it means the image original size still needs to be below the maximum allowed by nginx/apache/php. If your server can support it you can allow sending larger files per requests to avoid getting a non-Flarum HTTP error due to the large files.