Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #1480643

    Hi I want the image in the masonry gallery to fade in when they first load like this site:
    https://aswarbyrectory.com/
    I added the css in this thread but it isn’t working:

    Any ideas?
    Thanks

    #1480691

    Hey fanlokbun,

    Thank you for the inquiry.

    Did you try the other suggestion in the thread? https://kriesi.at/support/topic/masonry-gallery-fade-in-on-load/#post-1366942

    Best regards,
    Ismael

    #1480705

    Hi Ismael,

    I just did this again but the whole gallery fades in not individual images after “set animation on your column element to fade in”. I have left it in place.
    The client wants images to fade in like this:
    https://aswarbyrectory.com/

    Thanks

    #1480911

    Hi,

    Where can we check the masonry element? Please provide the site URL in the private field. Adding the new avia_masonry_show animation should override the original css with the -webkit-transform: translate(…) property and allow the masonry items to fade in without the flip animation.

    Best regards,
    Ismael

    #1480922

    Sorry stupid of me:

    #1480923

    Hi,

    We removed the other css and keep the following code to override the default avia_masonry_show transition.

    @-webkit-keyframes avia_masonry_show {
      0% {
        opacity: 0.1;
      }
    
      100% {
        opacity: 1;
      }
    }
    
    @keyframes avia_masonry_show {
      0% {
        opacity: 0.1;
      }
    
      100% {
        opacity: 1;
      }
    }

    Please make sure to purge the cache before testing.

    Best regards,
    Ismael

    #1480924

    Thanks Ismael. They still don’t fade in and it takes ages to load. It is like it is loading all the images before showing the gallery.
    This is what client wanted:
    https://aswarbyrectory.com/

    #1480971

    Hi,

    The images are fading in on our end. Did you install any lazy loading plugins? We recommend enabling pagination and try to reduce the number of images on the page. This should improve the loading speed.

    You can also add this css code to adjust the transition duration:

    .avia_desktop.avia_transform3d .av-masonry-animation-active .av-masonry-entry.av-masonry-item-loaded .av-inner-masonry,
    .avia_mobile.avia_transform3d:not(.avia-mobile-no-animations) .av-masonry-animation-active .av-masonry-entry.av-masonry-item-loaded .av-inner-masonry{
    	animation: avia_masonry_show 1.8s 1 cubic-bezier(0.175, 0.885, 0.320, 1.075);
    }

    Default is 0.8s.

    Best regards,
    Ismael

    #1480990

    No better I’m afraid. It doesn’t look like it is achievable does it?
    Thanks anyway

    #1481038

    Hi,

    It is actually working, but the number of images affects the animation and loading speed. You can see it more clearly on the test page we created. (see private field)

    Best regards,
    Ismael

    #1481063

    Your test works the same. They fade in all at the same time. The whole gallery at once. The one the client likes they load one at a time dso there isn’t the delay loading the whole gallery before they fade in. The client doesn’t want pagination. Just load as you scroll down.

    #1481109

    Hi,

    The items fade in one at a time when we checked. If you really need to copy the animation from the other site, you may need to hire a freelance developer or contact Codeable.

    https://kriesi.at/contact/customization

    Best regards,
    Ismael

    #1481132

    Okay I’ve tried it in lots of browsers and I can’t see it. Just to confirm, can you see it working on this page (now moved to live)?

    #1481168

    Hi,

    Yes, it is working on the page above: https://streamable.com/jzv6u3

    Best regards,
    Ismael

    #1481185

    Okay thanks Ismael. It doesn’t work as nicely as the example site but I’m happy with it and client hasn’t said anything so all good hopefully.
    You can close this thread
    Many thanks

Viewing 15 posts - 1 through 15 (of 15 total)
  • The topic ‘Masonry Gallery load fade in’ is closed to new replies.