miromannino / Justified-Gallery

Javascript library to help creating high quality justified galleries of images. Used by thousands of websites as well as the photography community 500px.
http://miromannino.github.io/Justified-Gallery/
MIT License
1.68k stars 299 forks source link

Big first image #270

Open moh6mmad opened 6 years ago

moh6mmad commented 6 years ago

Hello all Im going to showin Instagram feeds with this plugin but I need that first image show as 100% width and 100% height and next other rest of images show with 50% height and width is that possible ? Now last row show like that but i want to show first image like that

peachp commented 5 years ago

Also interested in this feature! But in our case we want the first image to be e.g. 50% width of the viewport and 100% height of the container. Basically like what you see on AirBnB. Here is a random example: https://www.airbnb.com/rooms/25161497

It is a good solution to combine header image and gallery in one, especially like in our case when we don't always have a high res photo available to show in full width.

EddAvila commented 2 years ago

@moh6mmad did you find a solution?