Unlock seamless workflows and faster delivery with our latest releases - Join the deep dive

&max-w=200 - Limiting Maximum Image Width

1 replies
Last updated: Mar 15, 2021
I'm trying to limit the maximum image width by appending
&max-w=200
to the url, but it has absolutely no effect.
&w=200
works fine, but
max-w
doesn't.Do i need to set any more config for this to have an effect?
Mar 15, 2021, 1:29 AM
w=200&fit=max
is usually what you want -
max-w
only kicks into effect when combined with
fit=crop
Mar 15, 2021, 2:27 AM

Sanity– build remarkable experiences at scale

Sanity is a modern headless CMS that treats content as data to power your digital business. Free to get started, and pay-as-you-go on all plans.

Was this answer helpful?