Search by

heimseiten / contao-fleximages-bundle

heimseiten.de - Webdesign aus Köln

Erweitert das Inhaltselement Galerie um die Option „flexImages verwenden“: Die Bilder werden zeilenweise angeordnet, behalten das Verhältnis von Breite und Höhe und füllen die verfügbare Breite bündig aus.

Package info

github.com/heimseiten/contao-fleximages-bundle

Type:contao-bundle

pkg:composer/heimseiten/contao-fleximages-bundle

Statistics

Installs: 307

Dependents: 0

Suggesters: 0

Stars: 2

Open Issues: 1

1.2.4 2026-08-27 10:00 UTC

This package is auto-updated.

Last update: 2026-08-27 10:01:00 UTC


README

This bundle integrates flexImages (https://github.com/Pixabay/JavaScript-flexImages) into the content element gallery.

The gallery gets the option "flexImages verwenden" under the image settings. The images are then arranged in rows: within a row every image keeps its aspect ratio, is scaled to a common height and the row fills the available width flush to both edges. The row height is derived from the first image of the gallery. The gap between the images can be adjusted with the CSS variable --image-gap (default 4px).

Bildschirmfoto 2023-10-19 um 11 55 14