Skip to content

Image experimental

fitImages

Function to Layout images in a way that they fit the available space. Like Google Photos do.

It can probably be called "fixed height layout".

See the demos below. Try resizing the browser window or sliders to see the effect of it.

maxHeight: 300
margin: 8

Loading images...