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: 123
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
perpetual 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,830
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

Online

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

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 14,830
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

Online

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

TBC
Member
From: North Carolina, US
Registered: 2014-03-19
Posts: 123
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
perpetual 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,830
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

Online

#6 2018-05-31 18:10:03

speacock110
Member
Registered: 2013-04-11
Posts: 128

Re: Galleria Fade Time

Can the fade speed or slide speed be changed on a normal album?

Offline

#7 2018-05-31 21:57:49

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

Re: Galleria Fade Time

yes.

using the same strategy outlined above and here: http://ttg-tips-and-tricks.barbeephoto. … ide-shows/

go to your backlight download and navigate to backlight/modules/pangolin-album/dynamic/js/ and with a plain text editor, open the fancybox.cfg.php file.

on line 28 is animationDuration : 350,

on line 42 is transitionDuration : 350,

Change these numbers. I'm not really sure what animationDuration means or what it does and wasn't able find anything about it in the Fancybox documentation about it (or transitionDuration, for that matter). It might affect transition effects other than fade (which I'm using)

I started by changing  transitionDuration to 5000, and that has a nice effect. The bigger the number the longer that transition time.
I've got it set at 8000 now: http://pangolin.barbeephoto.com/galleries/sitka/

Anyway, play with those two settings to see what they can do.

Make your changes and save the file, using the same name, in a location on your computer where you can find it again.
Upload the file to the corresponding location on the server.

Log into Backlight and clear template cache and then refresh your album.
you may also need to clear browser cache.


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

Online

#8 2018-06-01 00:26:37

speacock110
Member
Registered: 2013-04-11
Posts: 128

Re: Galleria Fade Time

Thanks makes it look a lot better, 350 wasnt realy a fade just a slow cut

Offline

#9 2018-09-14 08:59:22

Matthew
Administrator
From: Seoul, South Korea
Registered: 2012-09-24
Posts: 5,390
Website

Re: Galleria Fade Time

New slider in Galleria the next time we post an update.


Campagna Pictures, http://campagnapictures.com
The Turning Gate, http://theturninggate.net

Offline

Board footer

Powered by FluxBB