Page 1 of 1

gallery component: smooth transition possible?

Posted: Fri Jun 09, 2017 4:03 pm
by petix
Hi,

is it possible to have a smooth transition in a autostart gallery? By default there is no transition at all…

Regards
Petix

Re: gallery component: smooth transition possible?

Posted: Sun Jul 02, 2017 9:38 pm
by Hopki
Hi Petix,
What do you mean exactly.
So talk me through it once you open the gallery.
Regards,
Hopki

Re: gallery component: smooth transition possible?

Posted: Sat Jul 08, 2017 1:27 pm
by petix
Hi Hopki,

I'm searching for a fade in and fade out like this: http://mesterfoto.de/gnome/slideshow/

please compare with your gallery component: http://mesterfoto.de/gnome/tour/

Kind regards
Petix

Re: gallery component: smooth transition possible?

Posted: Tue Jul 11, 2017 1:24 pm
by Hopki
Hi Petix,
Not quite sure what you have done here. The Gallery component by default dips to black (screen tint) action for its transition.
I made a quick example using your images here.
The gallery component uses one external loader to display the images and another for preloading.
This means I use the dip to change the image and of course you can not display two images at once with one external loader.

However you can use two external loaders that fade in and out alternately please see here.

The key to this is the logic that you need to keep an image showing when you change the variable number.
As an example the loader will show the same image in variable numbers 0 or 1

Screen Shot 2017-07-11 at 12.22.18.png
Screen Shot 2017-07-11 at 12.22.18.png (26.64 KiB) Viewed 2976 times

This is so the picture is still visible when it is fading out and the next fades in.

And just because I can FX: Link.

Regards,
Hopki

Re: gallery component: smooth transition possible?

Posted: Fri Jul 14, 2017 7:03 pm
by petix
Hi Hopki,

thanks for your help! Gallery is working fine with smooth transition, but there is still the problem, that the background is shining through. Have a look at my example: www.mester-fotografie.de/gnome/slidesho ... wo-loaders

You can see the word "Störmer" and "since 1958" between two slides. Is there a solution? In your examples there is the same problem.

Regards
Petix

Re: gallery component: smooth transition possible?

Posted: Fri Jul 14, 2017 10:15 pm
by Hopki
Hi Petix,
just add a rectangle solid behind the two external loaders, make it the same percentage size and give it a visible logic block to show when the gallery does.
You could even do this with the single external loader.
Regards,
Hopki