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/797x679" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/797x679" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/640x640" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/640x640" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/632x611" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/632x611" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/646x787" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/646x787" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/771x658" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/771x658" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/695x724" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/695x724" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/717x746" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/717x746" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/793x796" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/793x796" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/783x628" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/783x628" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/692x611" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/692x611" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/699x626" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/699x626" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/692x690" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/692x690" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/757x784" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/757x784" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/785x660" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/785x660" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/738x789" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/738x789" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/694x634" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/694x634" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/623x651" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/623x651" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/600x616" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/600x616" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/685x650" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/685x650" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/663x642" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/663x642" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/651x752" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/651x752" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/676x630" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/676x630" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/793x695" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/793x695" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/640x744" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/640x744" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/614x733" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/614x733" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/627x613" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/627x613" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/793x633" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/793x633" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/697x657" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/697x657" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/607x790" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/607x790" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/796x643" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/796x643" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/779x712" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/779x712" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/649x716" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/649x716" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/744x755" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/744x755" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/618x708" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/618x708" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/687x702" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/687x702" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/742x762" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/742x762" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/715x728" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/715x728" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/674x796" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/674x796" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/765x682" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/765x682" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/611x747" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/611x747" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/795x672" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/795x672" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/786x655" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/786x655" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/600x729" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/600x729" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/672x640" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/672x640" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/637x761" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/637x761" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/751x778" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/751x778" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/678x645" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/678x645" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/632x755" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/632x755" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/688x788" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/688x788" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/636x621" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/636x621" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/606x630" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/606x630" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/622x627" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/622x627" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/712x659" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/712x659" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/695x678" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/695x678" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/704x626" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/704x626" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/660x718" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/660x718" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/710x741" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/710x741" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/764x714" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/764x714" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/786x609" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/786x609" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/672x607" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/672x607" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/767x736" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/767x736" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/774x774" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/774x774" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/686x701" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/686x701" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/661x700" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/661x700" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/772x754" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/772x754" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/615x783" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/615x783" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/729x641" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/729x641" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/745x642" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/745x642" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/725x624" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/725x624" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/689x664" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/689x664" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/688x763" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/688x763" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/650x724" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/650x724" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/798x696" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/798x696" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/746x790" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/746x790" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/747x752" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/747x752" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/777x755" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/777x755" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/666x646" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/666x646" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/654x738" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/654x738" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/656x785" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/656x785" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/636x641" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/636x641" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/758x728" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/758x728" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/762x721" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/762x721" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/749x772" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/749x772" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/667x602" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/667x602" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/796x711" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/796x711" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/611x748" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/611x748" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/769x729" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/769x729" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/617x641" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/617x641" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/672x645" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/672x645" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/766x795" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/766x795" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/707x641" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/707x641" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/709x637" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/709x637" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/707x783" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/707x783" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/605x706" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/605x706" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/774x692" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/774x692" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/665x785" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/665x785" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/739x669" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/739x669" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/765x605" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/765x605" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/620x677" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/620x677" alt="placeholder image alternative text" />
<figcaption>image caption</figcaption>
</figure>
</a>
</li>
<li>
<a href="https://via.placeholder.com/800x646" class="gallery-link" aria-label="image caption" aria-describedby="image-gallery__open-gallery">
<figure><img src="https://via.placeholder.com/800x646" 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/797x679",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/640x640",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/632x611",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/646x787",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/771x658",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/695x724",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/717x746",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/793x796",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/783x628",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/692x611",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/699x626",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/692x690",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/757x784",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/785x660",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/738x789",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/694x634",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/623x651",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/600x616",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/685x650",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/663x642",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/651x752",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/676x630",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/793x695",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/640x744",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/614x733",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/627x613",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/793x633",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/697x657",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/607x790",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/796x643",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/779x712",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/649x716",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/744x755",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/618x708",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/687x702",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/742x762",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/715x728",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/674x796",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/765x682",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/611x747",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/795x672",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/786x655",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/600x729",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/672x640",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/637x761",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/751x778",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/678x645",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/632x755",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/688x788",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/636x621",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/606x630",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/622x627",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/712x659",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/695x678",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/704x626",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/660x718",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/710x741",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/764x714",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/786x609",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/672x607",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/767x736",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/774x774",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/686x701",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/661x700",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/772x754",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/615x783",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/729x641",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/745x642",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/725x624",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/689x664",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/688x763",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/650x724",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/798x696",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/746x790",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/747x752",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/777x755",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/666x646",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/654x738",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/656x785",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/636x641",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/758x728",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/762x721",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/749x772",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/667x602",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/796x711",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/611x748",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/769x729",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/617x641",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/672x645",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/766x795",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/707x641",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/709x637",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/707x783",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/605x706",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/774x692",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/665x785",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/739x669",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/765x605",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/620x677",
"alt": "placeholder image alternative text",
"caption": "image caption"
},
{
"src": "https://via.placeholder.com/800x646",
"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();
});
})();