Does order of image params matter?
See original GitHub issueWe get the following successes/failures in rendering cloudinary images in our env and I don’t understand why they should/shouldn’t work:
const imgUrl = `http://res.cloudinary.com/${account}/image/upload/h_39,q_auto,w_33/v1/${image_path}` // FAIL
const imgUrl = `http://res.cloudinary.com/${account}/image/upload/h_38,q_auto,w_33/v1/${image_path}` // FAIL
const imgUrl = `http://res.cloudinary.com/${account}/image/upload/h_37,q_auto,w_33/v1/${image_path}` // OK
const imgUrl = `http://res.cloudinary.com/${account}/image/upload/q_auto,h_39,w_33/v1/${image_path}` // OK
const imgUrl = `http://res.cloudinary.com/${account}/image/upload/h_39,w_33,q_auto/v1/${image_path}` // OK
const imgUrl = `http://res.cloudinary.com/${account}/image/upload/f_auto,h_39,q_auto,w_33/v1/${image_path}` // OK
Does order of image params matter? Am I missing something in how width
,height
, and quality
affect one another?
Issue Analytics
- State:
- Created 5 years ago
- Comments:9 (5 by maintainers)
Top Results From Across the Web
Why does the order of parameters matter? - python
I assumed that these parameters in this function works simultaneously, so the order didn't matter much, but obviously it does matter.
Read more >[question] Same photos, same parameters, but different runs ...
Yes the result can vary depending on what images are being used as initial pair.
Read more >order - CSS: Cascading Style Sheets - MDN Web Docs
The order CSS property sets the order to lay out an item in a flex or grid container. Items in a container are...
Read more >Caching content based on query string parameters
The order of parameters matters in query strings. In the following example, the query strings are identical except that the parameters are in...
Read more >An SEO Guide to URL Parameter Handling
As such, parameter order doesn't matter from a duplicate content perspective. But each of those combinations burns crawl budget and split ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
So I checked this internally, and we think that there is an issue on our end about that. Using such URLs (with the “_”) should not work, you must always use the
v1
.I will keep you posted, meanwhile please deliver your images only with
v1
.Cheers
Closing this issue due to the time elapsed. Please feel free to either re-open the issue, contact our support at http://support.cloudinary.com or create a new ticket if you have any additional issues.