Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't set only image height #15

Open
predbjorn opened this issue Feb 28, 2020 · 0 comments
Open

Can't set only image height #15

predbjorn opened this issue Feb 28, 2020 · 0 comments

Comments

@predbjorn
Copy link

I expect setting height to work like this:

<img
  src={urlFor(author.image)
    .height(200)
    .url()}
/>

Nothing is happening the image size. ("@sanity/image-url": "^0.140.17")

@predbjorn predbjorn changed the title Cant set only image Can't set only image height Feb 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant