Trimming image results in error
Hi,
We have a few instances on our site where an image will not display because of a certain transformation. The transformation in question is called "ItemLarge", it is a custom named transformation.
Image (with transformation)
Without transformation:
In the transformation we trim the image and i think that is the reason it fails (image with trim transformation):
Since the image is split up into three sections i suspect the trimming feature breaks. Can you see what's going on?
Best Regards,
Mads
-
Hi Mads,
When Cloudinary returns an error for an image URL that failed to load due to a problem with the image or URL, we return an HTTP header containing more information about why the request failed.
This information is sent in the `x-cld-error` header, and you can see the value by using your browser's web developer tools as explained here: https://support.cloudinary.com/hc/en-us/articles/202520482-Why-isn-t-my-image-showing-up- to check the request and response for the image which didn't load correctly.
If we look at your URL, we can see the following error:
x-cld-error: Maximum image size is 50 Megapixels. Requested 113.39 Megapixels
If you actually resize your image by adding a w_500, the image is displayed: https://res.cloudinary.com/evoleska/images/w_500/f_jpg,t_ItemLarge,d_webSiteNoPhoto.jpg/v1589436385/product/1825006/bevaeg-lc-click-n-140-hvid-4224910011-4224910011-1825006
Hope it helps.
Best,
Loic
0
Post is closed for comments.
Comments
1 comment