Galerie

Mit Swiper_XH kann man individuell gestaltete Thumbnail-Galerien erstellen.

Wie geht das?

Für eine Galerie mit Thumbnails ist ein spezielles Gallery-Set nötig. Wichtigste Voraussetzung ist ein zusätzlicher Eintrag in der include.php:

$sw_gallery = 'true';

Das Plugin wird dadurch veranlasst, eine doppelte Swiper-Struktur zu erstellen – eine für die großen und eine für die Vorschau-Bilder. In der zugehörigen ini.js werden dann logischerweise auch zwei Swiper konfiguriert. Für beide sind wiederum alle Swiper-Einstellungen möglich. Über die stylesheet.php sind weitere Gestaltungsmöglichkeiten gegeben.

Der Aufruf für das Beispiel unten lautet:

{{{op_Swiper('set_gallery');}}}

Und das kommt dabei heraus:

You can hear the rumbling, really.

Reading in the dark can be dangerous to the eyes.

Time is precious.

For sale.

Always clean up nice.

This thing making a lot of rumbles too.

The cleaning lady ran away.

Все, что сделано из дерева - это ненадолго.
Everything made of wood - that will not last long.

The way to the bar. Down it goes – but back …¿

You can hear the rumbling, really.

Reading in the dark can be dangerous to the eyes.

Time is precious.

For sale.

Always clean up nice.

This thing making a lot of rumbles too.

The cleaning lady ran away.

Все, что сделано из дерева - это ненадолго.
Everything made of wood - that will not last long.

The way to the bar. Down it goes – but back …¿

Stichwortliste: Galerie, Gallery, Plugin, Set, Swiper, Swiper_XH