Different behavior on development machine and server for image upload #467
Unanswered
jokillinger
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Hey @Salomo, are you uploading from the UI or API? Could you also provide your I was unable to recreate this from my macOS machine. However, I can look into running this on an Ubuntu machine if that appears to be the determining factor. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a collection for uploading images. It uses the imageSizes: array to resize the images to large and medium resolution. If the uploaded image is smaller than the large size, large is simply omitted. This works perfectly on my development machine (macOS Monterey).
When running on the server (Ubuntu 20.04 LTS), it works fine when the uploaded image is larger or at least the size of the "large" imageSize. But I get this error when the image is smaller:
The following field is invalid: sizes.large.filename
Installed versions of dependencies and all is exactly the same on both machines.
Any idea, what the problem is?
Beta Was this translation helpful? Give feedback.
All reactions