# Our Justified Layout Goes Open Source

DevFeed: [Our Justified Layout Goes Open Source](<https://devfeed.tech/articles/our-justified-layout-goes-open-source-29040.md>)

Original publisher: [Read original article](<https://code.flickr.net/2016/04/05/our-justified-layout-goes-open-source/>)

Author: jimwhimpey

Published: 2016-04-05T17:01:53Z

Content type: release

Language: en

Sources: [Flickr](<https://devfeed.tech/sources/flickr.md>)

Topics: [Open Source](<https://devfeed.tech/topics/open-source.md>), [Algorithm](<https://devfeed.tech/topics/algorithm.md>), [npm](<https://devfeed.tech/topics/npm.md>), [Front end](<https://devfeed.tech/topics/frontend.md>), [JavaScript](<https://devfeed.tech/topics/javascript.md>), [Canvas](<https://devfeed.tech/topics/canvas.md>)

Tags: [algorithm](<https://devfeed.tech/tags/algorithm.md>), [canvas](<https://devfeed.tech/tags/canvas.md>), [front-end](<https://devfeed.tech/tags/front-end.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [npm](<https://devfeed.tech/tags/npm.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [render](<https://devfeed.tech/tags/render.md>)

## AI overview

Flickr open-sources its justified-layout algorithm as an npm module. The module accepts photo or box aspect ratios, returns layout geometry, and can be used on the server or client with configurable output and no built-in rendering component.

## Source excerpt

We introduced the justified layout on Flickr.com late in 2011. Our community of photographers loved it for its ability to efficiently display many photos at their native aspect ratio with visually pleasing, consistent whitespace, so we quickly added it to ... Continue reading ->