Comments (3)
@dmvdven did you also pass Sharp to your config? You need to both install it and provide it to your Payload config in order for image sizes to be generated.
See here:
https://github.com/payloadcms/payload-3.0-demo/blob/main/payload.config.ts#L121
from payload.
Thanks @jmikrut. Couldn't find this in the docs. It's working now!
from payload.
This issue has been automatically locked.
Please open a new issue if this issue persists with any additional detail.
from payload.
Related Issues (20)
- Multi Edit not working for upload (image) field HOT 2
- slate import in the "Generating HTML" section of Slate/Rich Text should be unnecessary
- Payload .find() does not fetch fresh data HOT 3
- [UI][iOS][Android] Logout button hides behind the bottom navbar on mobile devices
- HasMany relationship with localized:true failes to empty the relationship
- Cannot read properties of undefined (reading 'id') after deleting image HOT 2
- user is undefined in BeforeDashboard component after login HOT 2
- Incorrect package reference for Vercel Postgres database adapter HOT 1
- Follow-up on Invalid or unexpected token error
- useField on array fields return array length as value and row[] showing only IDs
- Edit and Live Preview Views Not Persisting State HOT 3
- Payload cannot load a bare module specifier as config
- Preview button not routing correctly for Pages collection despite working Live Preview HOT 4
- Bulk upload works despite filterOptions when uploading directly to a field
- Tsx folder in temp directory filled with a lot of files
- Can not get updated generated HTML on beforeChange hook for field type ('richText') in lexical editor
- Unnecessary `isEnabled` computations on Toolbar items
- GraphQL collection `id` field should be non-nullable
- Row fields misaligned vertically when labels occupy different number of lines due to their length
- Cannot add custom logo HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from payload.