BoltCM

Sophisticated, Lightweight and Simple

Jump to docs navigation
Edit on GitHub

Note: You are currently reading the documentation for Bolt 3.0. Looking for the documentation for Bolt 3.2 instead?

Field types » Imagelist field

A simple list field type to upload/select images. Also contains a title text field for each image.

Basic Configuration:

        gallery:
            type: imagelist

Example usage in templates:

This example will output a magnific popup gallery with thumbnails of all the images:

{% for image in record.gallery %}
    {{ image|popup() }}
{% endfor %}

Options:

The field has one option to change the functionality of the field:

        gallery:
            type: imagelist
            extensions: [ gif, jpg, png ]

Couldn't find what you were looking for? We are happy to help you in the forum, on Slack or on IRC.
Spotted a typo, or have something to add? Edit this page on GitHub.