Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author phoenixMagoo

    (@phoenixmagoo)

    Hmmm. This isn’t the hardest thing to do, and I’m def. going to be adding a Loading message in the next release that I hope to push out sometime around the WordPress 4.0 release.

    You could try adding something like this to your CSS for right now:

    . gallery:after {
          display: block;
          content: 'Loading...';
    
    }
    
    .gallery.jmig-img-loaded:after {
         content: ' ';
         display: none;
    }

    So basically that would jam some CSS generated content into the page as the gallery loads, and then hide it when the gallery is 100% loaded.

    Let me know how it works out!

    Thanks!

    Thread Starter NativePaul

    (@nativepaul)

    Thanks. I actually tried using both :before and :after elements before asking this questions.

    Unfortunately that didn’t work because the pseudo elements adopt the display properties of the gallery. So despite the display:block property it won’t be visible until the .gallery element is.

    It’s not urgent so I’ll look forward to the next release.

    Did you find a solution to this issue? I have the same problem and I would really appreciate some help. Thank you!

    Thread Starter NativePaul

    (@nativepaul)

    Unfortunately I never found a solution to the loading message and ended up with a completely different layout in the end.

    Not sure if phoenixMagoo had any luck adding it in to the plugin.

    Plugin Author phoenixMagoo

    (@phoenixmagoo)

    Hey there,

    I’m actually working on a Lazy Load option for the plugin that should greatly reduce load time for larger galleries. You can see a working example here.

    I hope to push this out in the next couple of months. If you can’t wait that long, then you are more than welcome to beta test this plugin.

    Just let me know if you are interested and I will send you the files.

    Thanks!

    Thanks for the replies!

    I would love to beta test the plugin. It works great in the working example. My email is [email protected]

    Best

    Plugin Author phoenixMagoo

    (@phoenixmagoo)

    If you want, for now, you can replace the following code in: /wp-content/plugins/jquery-masonry-image-gallery/js/masonry-init-v3.js

    with the code in this file:

    https://jmig.willrees.com/wp-content/plugins/jquery-masonry-image-gallery/js/masonry-init-v3.js?ver=2.2

    I’m going to start folding the new functionality into the plugin this weekend, will hopefully have a much nicer beta experience next week.

    Thanks!

    It works beautifully! Thank you!!!!

    Plugin Author phoenixMagoo

    (@phoenixmagoo)

    Cool! Can you shoot me a link so I can check it over?

    Thanks!

    I use the plugin for all the galleries in this website:
    https://forwardartists.com.

    For instance: https://forwardartists.com/alex-polillo-portfolio/

    The images are actually pulled from an external service called photoshelter.

    Thanks again for your timely support.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Loading message’ is closed to new replies.