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

143
Vistas
Resize Image on phone after orientation change in next.js

After fighting with the Image component from Next.js, and finally befriending it more and more, I have one final issue I can't seem to figure out.

When I visit my page on a mobile phone, having it upright (in portrait mode), the images render correctly - filling the maximum width available. All is good so far. Now when I rotate my phone 90 degrees, changing to landscape mode, all my CSS changes according to my media queries, but the Images stay in the same size they originally loaded. Thus, not filling the maximum width available now. On refresh, they are rendered correctly.

Also, in the Chrome Dev Tool Phone Emulator, it all works as expected. When I change orientation, it immediately changes the image size accordingly.

Let me know if you need any part of my code, looking forward to hearing from you!

about 4 years ago · Juan Pablo Isaza
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