Skip to content

Little twig function to list images.

License

AnimalDesign/bolt-gallery

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ANIMAL Gallery

This Bolt CM extension provides a little twig function to list images from a custom folder inside the files directory.

Example Usage

{% set images = imagelist(folder = 'gallery/' ~ record.slug) %}

{% if images %}
<ul>
	{% for image in images %}
	<li>
		<img src="{{ image(image) }}">
	</li>
	{% endfor %}
</ul>
{% endif %}

About

„We build it“ — ANIMAL

About

Little twig function to list images.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages