-
Notifications
You must be signed in to change notification settings - Fork 27.1k
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
chore(docs): mention uses for unoptimized
#73604
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add docs for `unoptimized` use cases. - Closes #72140
size, or format. Defaults to `false`. | ||
When true, the source image will be served as-is from the `src` instead of changing quality, size, or format. Defaults to `false`. | ||
|
||
This is useful for images that do not benefit from optimization such as small images (<1KB), vector images (SVG), or animated images (GIF). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The <
caused a parser error. Fixing in https://app.graphite.dev/github/pr/vercel/next.js/73658/docs-Fix-image-component-API-reference-parsing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice catch, thanks!
That link didn't work for me but I found the PR here:
Add docs for
unoptimized
use cases.