I have an API pushing items with images to CMS Collection. I noticed that it only import/allowed bigger images and not accepting smaller images like 800px width. But it allowed 6000px images.
Adding items via Third party API.
Any ideas on why?
I have an API pushing items with images to CMS Collection. I noticed that it only import/allowed bigger images and not accepting smaller images like 800px width. But it allowed 6000px images.
Adding items via Third party API.
Any ideas on why?
Check your CMS collection, if you have minimum size constraints on your image field, it would likely be respected by the API as well.
No minimum size is set. It is Multi image field. I also noticed that Webflow is converting JPG images to JPEG. It doesn’t make sense that it is allowing high res images but not low res.
Yeah sounds like you may be seeing an API bug then. Will be interesting to see what support reports responds, have you messaged them yet?
Do you mean renaming in the S3 bucket? That makes sense to me, I’d want to canonicalize file extensions as well on all assets, just to keep the rest of the code clean. That’s not a change to the file, or to the contents though ( no conversion )- just a naming convention.
Agree, excepting constrained fields, I wouldn’t expect that.
Just want to check something- try taking one of the images it’s rejecting, try testing it a few ways;
image.jpg
, and try uploading that.image.jpg
( one of your rejected images, renamed )Reason being-