Simplify your stack and build anything. Or everything.
Build tomorrow’s web with a modern solution you truly own.
Code-based nature means you can build on top of it to power anything.
It’s time to take back your content infrastructure.

Crop images and preview sizes not working

default discord avatar
cded90217 months ago
1

Hi All,


I'm using payload 3.0 beta 29.



After uploading an image, I click on edit image and then crop.


After clicking on Apply changes, I see that the image is still the same width and height as before, the crop was not applied.



Also, on clicking preview sizes, I only see the Original picture, despite having added the imageSizes array in the config. I'm using the same Media config as the one in the official docs.

https://payloadcms.com/docs/upload/overview

.



Thank you



Adding the sharp property has solved it, thank you!


I tried updating the version but was running into a lot of dependency issues and breaking changes, which version would you recommend?



thanks

@423216344302092288
Star on GitHub

Star

Chat on Discord

Discord

online

Can't find what you're looking for?

Get dedicated engineering support directly from the Payload team.