Some images aren't loading via fetch
Hi,
I'm using Cloudinary to convert images hosted on my domain. Some images work fine, while others 404, even when the original image is available.
For example, this image:
Works OK, while this image does not:
Any help gratefully received.
-
Hi Jon,
In general, in order to help debug Cloudinary URLs, the response would include a header called X-Cld-Error which provides more information on why the request was not successful. If you inspect the X-Cld-Error response header after making a request for the derived image example you'll see the following:
```
X-Cld-Error: File size too large. Got 12510189. Maximum is 10485760.
```Cloudinary sets a maximum online image manipulation size which is 100MB on all plans. Please note that this is not a limit on the size of images you can upload into your account, but is related to the maximum size of an image that can be transformed on-the-fly. For images larger than this limit you will need to perform transformations eagerly and then use the delivery URL.
Since you are fetching remote resources you can use the Auto-Upload feature and add the eager transformation within an upload preset.
I hope this helps. Please let us know if you have any further questions.
Best regards,
Millie0 -
Hi Millie
Did you mean the limit is 10MB, not 100MB? woods2.jpg is 12.5MB.
Thanks,
Jon
0 -
Hi Jon,
My apologies for the misunderstanding, indeed on the free plan the limit is of 10MB. On the paid plans the limit can be raised, depending on the plan and your specific use-case. If you wish, you can open a support request listing your requirements and our team will gladly suggested an appropriate plan to suit your needs.
Best,
Millie
0
Post is closed for comments.
Comments
3 comments