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

70
Views
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 answers
Answer question

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 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!