I am trying to resize new images on upload, so that client's photos get downsized to a max width of 2000px.
What I'm doing wrong?
upload: { staticURL: '/media', staticDir: 'media', mimeTypes: ['image/*'], disableLocalStorage: true, resizeOptions: { width: 2000, kernel: 'nearest', fit: 'cover', position: 'entropy', withoutEnlargement: true, }}
On the admin ui the size and weight is correct but on server is uploaded like the original