Fotorama_XH Bildwechsel automatisch

Third Party Plugins to CMSimple - how to install, use and create plugins

Moderator: Tata

Post Reply
graf_ikea
Posts: 130
Joined: Tue May 07, 2013 11:16 am

Fotorama_XH Bildwechsel automatisch

Post by graf_ikea » Wed Aug 04, 2021 5:24 pm

Hallo,
kann man bei dem Plugin Fotorama_XH einstellen, das die Bilder automatisch wechseln ?

Danke ...

cmb
Posts: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

Re: Fotorama_XH Bildwechsel automatisch

Post by cmb » Wed Aug 04, 2021 6:04 pm

graf_ikea wrote:
Wed Aug 04, 2021 5:24 pm
kann man bei dem Plugin Fotorama_XH einstellen, das die Bilder automatisch wechseln ?
Nein, leider noch nicht. Sollte aber eigenlich leicht machbar sein. Du könntest diese Zeile durch folgende ersetzen:

Code: Select all

$html = '<div class="fotorama" data-autoplay="true"';
Habe ich aber nicht getestet.
Christoph M. Becker – Plugins for CMSimple_XH

graf_ikea
Posts: 130
Joined: Tue May 07, 2013 11:16 am

Re: Fotorama_XH Bildwechsel automatisch

Post by graf_ikea » Wed Aug 04, 2021 10:13 pm

Danke, es funktioniert.

Es ist nur ein wenig schnell, d.h. ca. 2 Sekunden bleiben die Bilder nur und wechseln dann sehr schnell.
Meinst du das kann man auch schon irgendwie einstellen ?

Danke ...

lck
Posts: 2963
Joined: Wed Mar 23, 2011 11:43 am
Contact:

Re: Fotorama_XH Bildwechsel automatisch

Post by lck » Thu Aug 05, 2021 9:21 am

https://fotorama.io/docs/4/autoplay/
By default, a pause between images is 5 seconds. Set any interval in milliseconds, for example, 3 seconds:

Code: Select all

data-autoplay="8000"
„Bevor du den Pfeil der Wahrheit abschießt, tauche die Spitze in Honig!“   👉 Ludwig's XH-Templates for MultiPage & OnePage

graf_ikea
Posts: 130
Joined: Tue May 07, 2013 11:16 am

Re: Fotorama_XH Bildwechsel automatisch

Post by graf_ikea » Thu Aug 05, 2021 11:25 am

Funktioniert einwandfrei.

Vielen Dank für eure Hilfe.

Falls mal jemand hier danach sucht, so gibts auch eine schöne Überblendung:

$html = '<div class="fotorama" data-autoplay="8000" data-transition="crossfade"';


Danke.

Post Reply