Use the image wall component on detail pages to present a set of images as a whole, showing the complete set of images using thumbnails.
Do not use the image wall component:
Do not use the image wall component on overview pages or filter pages. Only use the image wall component on detail pages.
<ul class="image-wall js-lightbox">
{% for item in items %}
<li>
<a href="{{ item.src }}" class="gallery-link"
{% if item.caption %}
aria-label="{{ item.caption }}"
{% endif %}
aria-describedby="image-gallery__open-gallery">
{% include '@image' with {
"caption": item.caption,
"src": item.src,
"alt_text": item.alt,
"ratio": null
} %}
</a>
</li>
{% endfor %}
</ul>
<!-- Add this to the bottom of your page template, above scripts -->
<!-- <span hidden id="image-gallery__open-gallery">open gallery</span> -->
<ul class="image-wall js-lightbox">
<li>
<a href="https://via.placeholder.com/691x615" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/691x615" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/798x623" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/798x623" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/654x664" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/654x664" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/763x768" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/763x768" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/602x728" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/602x728" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/701x786" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/701x786" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/640x682" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/640x682" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/718x723" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/718x723" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/706x726" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/706x726" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/778x734" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/778x734" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/717x763" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/717x763" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/646x780" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/646x780" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/715x664" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/715x664" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/691x734" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/691x734" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/662x799" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/662x799" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/679x685" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/679x685" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/691x718" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/691x718" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/749x766" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/749x766" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/654x740" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/654x740" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/608x761" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/608x761" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/728x697" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/728x697" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/696x668" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/696x668" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/790x726" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/790x726" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/606x777" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/606x777" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/746x745" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/746x745" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/694x661" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/694x661" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/683x623" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/683x623" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/622x774" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/622x774" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/754x683" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/754x683" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/698x776" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/698x776" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/720x613" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/720x613" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/693x725" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/693x725" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/781x636" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/781x636" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/754x788" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/754x788" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/788x603" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/788x603" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/687x649" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/687x649" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/609x724" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/609x724" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/742x637" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/742x637" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/748x606" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/748x606" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/650x800" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/650x800" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/650x749" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/650x749" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/600x725" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/600x725" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/785x737" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/785x737" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/696x684" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/696x684" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/698x734" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/698x734" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/637x612" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/637x612" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/624x702" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/624x702" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/774x707" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/774x707" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/710x786" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/710x786" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/748x773" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/748x773" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/677x765" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/677x765" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/655x738" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/655x738" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/647x660" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/647x660" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/643x709" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/643x709" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/617x683" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/617x683" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/754x655" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/754x655" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/753x705" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/753x705" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/743x692" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/743x692" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/697x797" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/697x797" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/650x752" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/650x752" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/713x657" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/713x657" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/693x786" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/693x786" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/620x709" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/620x709" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/702x741" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/702x741" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/605x664" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/605x664" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/664x658" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/664x658" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/698x800" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/698x800" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/640x695" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/640x695" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/656x612" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/656x612" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/688x628" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/688x628" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/708x664" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/708x664" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/715x678" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/715x678" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/680x742" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/680x742" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/680x652" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/680x652" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/706x658" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/706x658" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/773x614" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/773x614" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/608x711" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/608x711" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/686x666" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/686x666" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/603x798" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/603x798" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/679x724" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/679x724" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/734x636" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/734x636" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/755x743" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/755x743" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/717x608" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/717x608" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/764x759" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/764x759" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/646x686" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/646x686" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/635x606" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/635x606" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/797x602" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/797x602" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/608x667" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/608x667" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/774x702" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/774x702" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/704x636" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/704x636" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/775x762" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/775x762" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/675x693" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/675x693" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/624x728" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/624x728" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/702x681" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/702x681" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/780x629" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/780x629" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/617x742" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/617x742" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/775x772" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/775x772" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/717x797" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/717x797" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/735x681" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/735x681" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/721x751" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/721x751" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
</ul>
<!-- Add this to the bottom of your page template, above scripts -->
<!-- <span hidden id="image-gallery__open-gallery">open gallery</span> -->
{
"items": [
{
"src": "https://via.placeholder.com/691x615",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/798x623",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/654x664",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/763x768",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/602x728",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/701x786",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/640x682",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/718x723",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/706x726",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/778x734",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/717x763",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/646x780",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/715x664",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/691x734",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/662x799",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/679x685",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/691x718",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/749x766",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/654x740",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/608x761",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/728x697",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/696x668",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/790x726",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/606x777",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/746x745",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/694x661",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/683x623",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/622x774",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/754x683",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/698x776",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/720x613",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/693x725",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/781x636",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/754x788",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/788x603",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/687x649",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/609x724",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/742x637",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/748x606",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/650x800",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/650x749",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/600x725",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/785x737",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/696x684",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/698x734",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/637x612",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/624x702",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/774x707",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/710x786",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/748x773",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/677x765",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/655x738",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/647x660",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/643x709",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/617x683",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/754x655",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/753x705",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/743x692",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/697x797",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/650x752",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/713x657",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/693x786",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/620x709",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/702x741",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/605x664",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/664x658",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/698x800",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/640x695",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/656x612",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/688x628",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/708x664",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/715x678",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/680x742",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/680x652",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/706x658",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/773x614",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/608x711",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/686x666",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/603x798",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/679x724",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/734x636",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/755x743",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/717x608",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/764x759",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/646x686",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/635x606",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/797x602",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/608x667",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/774x702",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/704x636",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/775x762",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/675x693",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/624x728",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/702x681",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/780x629",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/617x742",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/775x772",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/717x797",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/735x681",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/721x751",
"alt": "placeholder image alternative text",
"caption": "image caption"
}
]
}
.image-wall {
@include phablet {
display: flex;
flex: 1 1 100%;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
}
> li {
margin-bottom: $gutter-width;
@include phablet {
width: span(6 of 12);
}
@include tablet {
width: span(4 of 12);
}
@include desktop {
width: span(3 of 12);
}
&.hidden {
margin: 0;
}
}
width: 100%;
}
/**
* @file
* Javascript binding of Masonry.
*/
'use strict';
(function () {
if (!Masonry || !imagesLoaded) { // eslint-disable-line no-undef
return;
}
const grid = document.querySelector('.image-wall');
if (!grid) {
return;
}
const msnry = new Masonry(grid, { // eslint-disable-line no-undef
columnWidth: 'li:not(.hidden)',
itemSelector: 'li',
transitionDuration: 0,
gutter: 24
});
imagesLoaded(grid).on('progress', () => { // eslint-disable-line no-undef
msnry.layout();
});
})();