Image not displaying with f_auto parameter
The URI:
Doesn't work in my browser. If I remove the f_auto from the URI the images is displayed.
If I remove the .jpg the image is displayed. However using .jpg with f_auto is in the cloudinary tutorials https://cloudinary.com/blog/adaptive_browser_based_image_format_delivery
Does anyone know whats going on?
-
and now after a 20 minutes its working again? a glitch in the matrix? Did cloudinary need to process the image? Whats going on?
0 -
Hi
Looking at our logs it seems that the image with the f_auto transformation was requested at 28th of July, 15:13:54 UTC while it was only uploaded at the same day at 15:14:35 - roughly 40 seconds after the first request
The reason why that particular URL + transformation resulted in a 404 is that the URL (for the derived/transformed image) was accessed prior to the original image being uploaded and the 404 errors were cached.
Cloudinary caches 4xx errors first for 1 minute, and each subsequent request for the same URL that results in the error doubles the expiry time up until it reaches 24 hours and then requests add an additional 24 hours to the expiry. Requesting URLs with different transformations (like removing f_auto from the transformation) will work as the error cache is only for that particular URL + transformation, using a different transformation once the original image is uploaded will work, e.g. adding a no-op transformation such as `a_0`.
We have a support article which you can find here that also describes such cases.
https://support.cloudinary.com/hc/en-us/articles/202520452-I-m-getting-a-404-or-other-40x-erros-for-my-transformed-image-while-other-versions-of-that-image-workLet me know if that makes sense?
0
Post is closed for comments.
Comments
2 comments