---
title: "Justified"
date: 2020-11-17
author: "nK"
---

# Justified

Items are arranged in rows of equal height that fill the full width, each image at its own aspect ratio (the Flickr layout).

![](https://staging.visualportfolio.com/wp-content/uploads/2024/07/Shot-2024-07-12-at-08.45.17-1024x582.png)![](https://staging.visualportfolio.com/wp-content/uploads/2024/07/Shot-2024-07-12-at-08.45.17-1024x582.png)    SettingValuesDefaultNotes**Row Height**20 to 1000 px200Target height. Rows are computed to be as close to it as possible**Row Height Tolerance**0 to 1, step 0.050.25How far a row may deviate from the target: 0.25 allows 150 to 250 px for a 200 px target. Higher values fit images with less cropping; 0 forces exact rows**Max Rows Count**0 to 500Number of rows to show; 0 shows all. Useful for a teaser gallery**Last Row Align**Left, Center, Right, HideLeftWhat to do with an incomplete last row. Hide leaves it out**Gap**, **Vertical Gap**0 to 200 px15, empty![](https://staging.visualportfolio.com/wp-content/uploads/2024/07/Shot-2024-07-12-at-08.46.11-1024x583.png)![](https://staging.visualportfolio.com/wp-content/uploads/2024/07/Shot-2024-07-12-at-08.46.11-1024x583.png)    There is no column setting. On small screens rows keep the target height, so fewer images fit in each row.

Justified is built on the flickr-justified-gallery library.