webstudio-is / webstudio

The web builder for advanced sites. An open-source visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.
https://webstudio.is
GNU Affero General Public License v3.0
4.54k stars 489 forks source link

Preresize images before storing them #3354

Open kof opened 3 months ago

kof commented 3 months ago

As a user I don't want to care about the size of the images I upload, webstudio should take care of that.

Reported bug:

Try to upload any image with a big resolution, e.g. 9800px. It will start uploading in asset manager, then show erorred/broken thumb.

I can see this in the response

image

What we can do

kof commented 3 months ago

we need to check why CF resizer showing this error and catch it before they do ourselves to show user a meaningful error