-
Notifications
You must be signed in to change notification settings - Fork 27.2k
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
Docs: Clarity on the width and height properties of the Image component #68228
Comments
Hi @NickWoodward, |
Hi @NickWoodward, You can find the updated documentation in this [PR]. |
Thanks Tim, good to know it's the intrinsic size :) |
This issue is addressed in PR #68248 |
This closed issue has been automatically locked because it had no new activity for 2 weeks. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you. |
What is the update you wish to see?
Might be a mistake on my part, but I feel like the docs are in need of a bit of clarity on the width and height attributes of the Image component?
Here they're defined as representing the rendered sizes:
But here it states that they do not:
Feel like it should be the latter, the intrinsic values, so that it's inline with the
<img>
tag?Is there any context that might help us understand?
As above
Does the docs page already exist? Please link to it.
https://nextjs.org/docs/pages/api-reference/components/image#width
The text was updated successfully, but these errors were encountered: