While Cloudinary doesn't restrict the length of a URL, there are some limits which should be taken into consideration when constructing the URLs.
- Different browsers define different limits to the length of URLs.
- The transformation string may not exceed the length of 1024 characters
If this constitutes a problem, one should consider using named transformations
- When fetching a remote image, its URL should not go above 255 characters (more information here). In such occurrences, you may prefer to explicitly upload the image by passing the remote URL as the "file" parameter to the upload method
Can you please elaborate more on point.2 ?
If the url contains multiple transformations, does the 1024 limit applies to individual transformation or all transformations?
Thanks for reaching out.
The 1024 chars limitation applies to the sum of all transformation components in the URL.
Please sign in to leave a comment.