Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

75
Visualizações
Display series of images horizontally with overflow

I want to make my own image viewer, something that's better than what windows can provide.

I want to create an HTML page containing all my images but laid out horizontally as far as the monitor can go. And when I zoom in zoom out, the images also adjust sized and alignment.

I looked into IMGUR but I can't make sense of how they're achieving it. I'm guessing normal HTML can't do it, but some JS is involved as well? But I'm completely not sure.

I last did HTML 10 years ago. No spoonfeed needed, just a general direction.

my current code:

<html>
<body>
<video controls="" loop="" autoplay="" class="" src="somevideo"></video>
</body>
</html>
about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

You could try using flexbox. Something like:

<div style="display:flex; flex-wrap: wrap; width: 100vw; height: 100vh;">
  // your image elements
  <img style="flex: 1;" src="myImage.png">
</div>

Should give you what you're looking for (at least as far as I can tell).

about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda