Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialSergey Blokhin
9,612 PointsHow to layout a image gallery if you have images with different sizes?
Hello!
Does anyone know how to layout a image gallery if you have images with different sizes?
4 Answers
Moritz Lang
25,909 PointsHi, you can easily achieve this by using Bootstrap 4 or Flexbox. :)
Kerry Collier
Front End Web Development Techdegree Student 16,151 PointsSince this is a beginner course and I know many other courses they don't want you using Bootstrap or Flexbox until you have a handle on the basics, what I would probably do would be to find a free image resizing tool and change the images, unless you are wanting them to all be various sizes. I've used resizeimage.net and it works pretty well.
Sergey Blokhin
9,612 PointsThank you for your answers. I was looking for solution to solve the layout issue with a use of html and css only.
Moritz Lang
25,909 PointsHi Sergey, Flexbox is part of CSS3. :) But I agree with Kerry as you should learn the basics first & then tackle some harder problems like the one you described.
Sergey Blokhin
9,612 PointsThanks