Those. like this, with scaling images of different sizes
3 answers
The simplest solution is to use the jason Masonry plugin or Isotope.
|
|
If you're talking about scaling, then you can use css:
.gallery-row{ height:100px; margin-top:10px; } .gallery-img{ display:inline-block; height:100px; border:1px solid grey; margin:0 5px; } .gallery-img img{ height:100px; } <div class="gallery-row"> <div class="gallery-img"> <img src = "http://dingo.com.ua/source/flowers/323.jpg"/> </div> <div class="gallery-img"> <img src = "http://foneyes.ru/img/picture/Jun/09/31a890e8d9439ea09df6d4a0af2589a6/7.jpg"/> </div> <div class="gallery-img"> <img src = "http://takefon.com/_ld/66/60326919.jpg"/> </div> </div> <div class="gallery-row"> <div class="gallery-img"> <img src = "http://takefon.com/_ld/66/60326919.jpg"/> </div> <div class="gallery-img"> <img src = "http://dingo.com.ua/source/flowers/323.jpg"/> </div> <div class="gallery-img"> <img src = "http://foneyes.ru/img/picture/Jun/09/31a890e8d9439ea09df6d4a0af2589a6/7.jpg"/> </div> </div> |