Community @ The Turning Gate

Support community for TTG plugins and products.

You are not logged in.

#1 2018-05-05 19:42:48

TBC
Member
From: North Carolina, US
Registered: 2014-03-19
Posts: 118
Website

Galleria Fade Time

Looking at a similar request about changing the transition/fade time in Theater, I tried something similar in

modules>pangolin-galleria>dynamic>js>galleria-pangolin.php

Starting at line 61, then adding a line:

        ... (represents all the other parameters above)
        transition: 'fade',
    transitionDuration: 3000,
  },

However, it didn't work.

I would like a less abrubt transition between images.

Thanks, and take care,


TBC (The Barefoot Contessa, alias Margo Taussig Pinkerton)
http://www.BCphotoadventures.com/
www.BC-FineArtPhotography.com
both works in progress

Offline

#2 2018-05-05 21:52:37

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 14,354
Website

Re: Galleria Fade Time


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Pangolin test site, Backlight 1.1.1 test site

Offline

#3 2018-05-06 00:58:55

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 14,354
Website

Re: Galleria Fade Time

For anyone following this, here's more, now that I've had time to test:

In the Galleria download, go to backlight/modules/pangolin-galleria/dynamic/js and open the galleria-pangolin.php file in your text editor.
add a line after line 61 (transition: 'fade',) to include this:
transitionSpeed: '3000',
adjust the time as needed. This is 3 seconds.

I suggest saving the file using Save As (using the same file name) and putting it somewhere you can find.
Upload the newly saved file to the corresponding file on the server.
Clear your template cache.
That should do it.
If Galleria receives an update, you'll need to do this again.


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Pangolin test site, Backlight 1.1.1 test site

Offline

#4 2018-05-06 08:04:03

TBC
Member
From: North Carolina, US
Registered: 2014-03-19
Posts: 118
Website

Re: Galleria Fade Time

OK, so I was on the right track, but I need to make the fade timelonger, at least that is how I hope it will work???

Thanks Rod!


TBC (The Barefoot Contessa, alias Margo Taussig Pinkerton)
http://www.BCphotoadventures.com/
www.BC-FineArtPhotography.com
both works in progress

Offline

#5 2018-05-06 08:28:59

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 14,354
Website

Re: Galleria Fade Time

transitionSpeed is working for me to make the fade time longer
http://pangolin.barbeephoto.com/galleri … lide-show/


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Pangolin test site, Backlight 1.1.1 test site

Offline

Board footer

Powered by FluxBB