Home
Starting Up
Case Studies DB
Products
Ideas DB
Vibe Coding Tools
Subscribe to IH+
Starting Up
Case Studies
Ideas DB
Products DB
Join
7
Likes
4
Comments
Guide to using images in Next.js
by
Nico Botha
https://shipsaas.com/blog/guide-to-using-images-in-nextjs
Someday https://github.com/vercel/next.js/discussions/19065
Nice write up. I saved the article for future reading. One question I have is how to have different images for different screens? The Image component takes care of responsiveness for most uses but I couldn't figure out how to load separate images.
You'll have to do it manually - i.e. when rendering an image component check the screen size and show the appropriate image.
Something like this: https://imgur.com/a/oJ0X7Bz
Ohh interesting. I'll have to try that with the project I'm working on. Thanks