plenta / contao-gallery-bundle
Gallery content element with teaser, alias-based URL and image grid for Contao 5
Package info
github.com/plenta/contao-gallery-bundle
Type:contao-bundle
pkg:composer/plenta/contao-gallery-bundle
1.0.0
2026-09-21 12:55 UTC
Requires
- php: ^8.4
- contao/core-bundle: ^5.7
Requires (Dev)
- contao/manager-bundle: ^5.7
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
Gallery content element for Contao 5.7. The element shows a teaser (cover image, title, text and a link).
The link opens the same page with the gallery alias appended (/page/my-gallery.html) and displays the
image grid of the chosen folder. Every image opens in the Contao lightbox.
Installation
composer require plenta/contao-gallery-bundle
Run the database migration afterwards (contao:migrate).
Notes
- The bundle ships markup only, no CSS. The lightbox script is provided by your site (
data-lightbox), exactly as for the core gallery element. - While a gallery is opened, all other gallery elements are not rendered. Only the opened one stays visible. Other content elements are not affected.
- The alias is read through Contao's
auto_item. Do not combine the element with anotherauto_itemconsumer (e.g. a news reader) on the same page.
System requirements
- PHP:
^8.4 - Contao:
^5.7