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)
Consider applying for YC's Summer 2026 batch! Applications are open till May 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: