Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

365
Vistas
Why I get this in Next.js? <link rel=preload> has an invalid `imagesrcset` value

I have images in a carousel:

<Image
  src={`http://ticket-t01.s3.eu-central-1.amazonaws.com/${props[organizationId].events[programId].imgId}_0.cover.jpg`}
  className={styles.carouselImage}
  layout="responsive"
  width={865}
  height={513}
  key={`${props[organizationId].events[programId].imgId}`}
  priority={true}
/>

I think all src are set well, as images are visible, rendered. Then what is the problem?

I see this in console:

has an invalid `imagesrcset` value
about 4 years ago · Juan Pablo Isaza
3 Respuestas
Responde la pregunta

0

A bug has been filed with Safari which seems to be the only browser complaining.

I think you can safely ignore this error.

about 4 years ago · Juan Pablo Isaza Denunciar

0

you should add this to your next.config.js file

module.exports = {
  images: {
    domains: ["amazonaws.com"],
  },
}

from the docs :

To enable Image Optimization for images hosted on an external website, use an absolute url for the Image src and specify which domains are allowed to be optimized. This is needed to ensure that external urls can't be abused.

about 4 years ago · Juan Pablo Isaza Denunciar

0

if its a local image you need to import it, and then use it

import dogImg from '../public/dog1.png'

<div>
<Image src={dogImg} />
</div>
about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda