Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
5Qn8mNbc2FNCiVV
on Oct 26, 2023
|
parent
|
context
|
favorite
| on:
Next.js 14
You just use the image component and specify the sizes. The png fallback is provided via the server looking for the Accept header so when it supports webp it gives you webp, otherwise you get png (or jpg depending on the original extension)
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: