How to Import Images in Next JS - Next.js Image Optimization

preview_player
Показать описание
In this video I go over how to import images in Next JS. Next JS offers some really great features right out of the box - especially for image optimization. If we take advantage of the Image Component then we can utilize lazy loading images, optimize file sizes which increases page load speeds as well as SEO, and visual stability in our web application. Layouts will not shift while our app is loading! Learn Next JS Image Optimization!

⚡ Build a portfolio with NEXT JS ⚡

🔥 My Coding Equipment 🔥

Support my coding habit 🤣

Connect with me on Instagram 💪
Рекомендации по теме
Комментарии
Автор

thanks bro the knowledge was useful. Cheers for making live easy for people

ezeobisochima
Автор

Great video! Can you please tell me if u gonna make complete course of Next JS so that I can follow your playlist.

waytocode
Автор

What if in a page, I request to DB to have the url of the image. So how can I import that url (statically)?

dangnhattrinh
Автор

node:buffer
Module build failed: UnhandledSchemeError: Reading from "node:buffer" is not handled by plugins (Unhandled scheme).
Webpack supports "data:" and "file:" URIs by default.
You may need an additional plugin to handle "node:" URIs.

maybeomuamua
Автор

It would be fun to see you try out web3 development

josephomotade
Автор

Only thing I don't like about it is the required h & w. It gets wierd when working with an image grid, where all the images are dynamically sized and take up fractions of the grid. But next required those hard values so it bugs me.

kimbapslayer
Автор

If let say I want to load the image from local drive and not from root, such as drive D... any advise?

knnethtan
Автор

Hello, i was watching ur defi project tutorial and there is a issue, the react app i created using npx, on the localhost the changes i make in the vs code are not appearing on the localhost ..and also after creating react app, when i cd the project usually i used to get git(master) on the command line but now even that isnt appearing..and if i try to add tailwind as u explained it used to work before but now its showing no change in localhost.. please help me with this

jyotheshkarnam
Автор

I would like to show logos of various companies on my web page, say logos of IBM, Microsoft, Oracle. Where do I obtain these images, and what is the best way to import and display these in Next.js 14

nademkhan
Автор

Hi dude. This is really cool about your explain.but in my case must required about width and height. In your case. Why not height and width required.

andifaizal
Автор

Can you maybe do something with typescript?

ericcapiz
Автор

Hello, After Next.js build command how open newly uploaded images?

muhammadbabar
Автор

is layout='fill' and objectfit='cover' are not working?

shaikmahaboobjani
Автор

When I use next Image component the quality of image is very bad. Anybody has any solution?

djelasrca