Skip to content

docs: Reference to statically imported images #80048

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

Merged
merged 2 commits into from
Jun 2, 2025

Conversation

icyJoseph
Copy link
Contributor

@icyJoseph icyJoseph commented Jun 2, 2025

Closes: https://linear.app/vercel/issue/DOC-4730/docs-nextimage-local-images-broken-snippet
Fixes: #80023

Made the static image imports, into a sub section of local images, and referenced how their width/height is auto calculated.

There's also some tests that reference this usage:

@icyJoseph icyJoseph requested a review from delbaoliveira June 2, 2025 09:03
@icyJoseph icyJoseph self-assigned this Jun 2, 2025
@ijjk ijjk added created-by: Next.js DevEx team PRs by the DX team. Documentation Related to Next.js' official documentation. labels Jun 2, 2025
Copy link

changeset-bot bot commented Jun 2, 2025

⚠️ No Changeset found

Latest commit: 2b3b459

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@leerob leerob enabled auto-merge (squash) June 2, 2025 13:56
@leerob leerob merged commit 9748d9d into canary Jun 2, 2025
72 checks passed
@leerob leerob deleted the docs/next-image-static-image-auto-dimensions branch June 2, 2025 13:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
created-by: Next.js DevEx team PRs by the DX team. Documentation Related to Next.js' official documentation.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Docs: The Getting Started docs about local images using the <Image> component are wrong
3 participants