Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

150
Views
Nextjs Image component loading slow on map

When i use map the images render slow on localhost. However, when I dont use map it loads quickly.

I used a variety of props from Image component but none seem to fix this issue.

However, after all images rendered and I hit the refresh button they load fast.

This is quite confusing. Is there any way to load images quickly upon first page visit?


import React from 'react';
import Image from 'next/image';
import styles from './Peoples.module.scss';
export const Peoples = () => (
  <>
    {[...Array(10)].map((x, i) => (
      <div className={styles.team_img_container} key={i}>
        <Image
          style={{ height: 100, width: 100 }}
          src={`/people/${i + 1}.webp`}
          alt="Picture of the author"
          width={100}
          height={100}
          // unoptimized={true}
          // loading="eager"
          priority={true}
          // quality={70}
        />
      </div>
    ))}
  </>
);

export default Peoples;
about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

So I deployed this and left it as is It seems like during development mode all png or jpg will be converted to webp hence the slow reload. So deploy it and check out its performance on Vercel just dont use webp cause next will convert that 2 .

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!