Next.js Discord

Discord Forum

Images loading last

Answered
Cimarrón Uruguayo posted this in #help-forum
Open in Discord
Avatar
Cimarrón UruguayoOP
When I load the page, the images load the last, how can i make them load WITH/AHEAD of the text content?
Answered by B33fb0n3
View full answer

14 Replies

Avatar
if your images are really important, you can add priority to your images. It's just a boolean prop that says "should load with priority or not"
Avatar
Cimarrón UruguayoOP
they're like icons to blog posts
so in /posts, there is a list of "card" components that get displayed to provide summary information of the blog
so there are tiny images for each blog post
representing the profile picture of the author (there is a fallback default configured)
Avatar
can you show the design of the it? Or the code? Or both? So we know what you are doing
Avatar
Cimarrón UruguayoOP
Image
the images are on the left
Avatar
and they are integrated with <Image>? Or svg? Or ...? Take a look inside the network tab to see what will be loaded
Avatar
Cimarrón UruguayoOP
next.js' Image yes
Avatar
Answer
Avatar
@Cimarrón Uruguayo solved?
Avatar
Cimarrón UruguayoOP
yes sorry
Avatar