We're merging with GenerateBlocks! Learn more here.

[Resolved] Ajax 'Load more' now doesn't show images

Please login to receive premium support.

Support for the free plugin can be found here.

Home Forums Pro Support Ajax 'Load more' now doesn't show images

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #7459
    jim
    Participant

    Hi,
    I think there might be an issue with WPSP Pro in that hitting the Ajax ‘load More’ button just displays blank images and their titles. I’m also seeing a masonry spacing too. It all used to work before WP5?.

    I’ve tried WPSPPro 1.0-alpha and this fixes the masonry issue but not the blank images.

    See Load more ajax issue here. The additionally loaded posts do not display images?
    See masonry issue here. First post image and title are cropped.

    Many thanks

    Jim

    #7478
    Tom
    Keymaster

    Hi there,

    These are likely both caused by the lazy loading you have. Do the issues go away once lazy loading is disabled?

    #7480
    jim
    Participant

    Aah, yes that worked.

    Thanks Tom.

    #7490
    Tom
    Keymaster

    No problem.

    It might be worth asking the lazy load developer if it’s possible to integrate their plugin with masonry/infinite scroll 🙂

    #7882
    Fabian
    Participant

    Hello Tom,

    first of all: great plugin! And now with the pro-version and ajax-load-more it should have fitted all my requirements… but I got the same problem: after clicking the load-more-button no images are loading – just white space… All images are implemented by the theme’s isotope-media-gallery – no lazy loading activated.

    Example without AJAX-loading: schmitz.oth-aw.de
    Example with AJAX-loading: schmitz.oth-aw.de/blog-2019

    I’m using WordPress 5.1, Uncode Theme 2.0, WPSPPro 1.0 beta – no caching plugins installed

    #7888
    Tom
    Keymaster

    It’s likely that the isotope functionality needs to be reloaded once the load more button is clicked.

    If you can ask the developer of the isotope functionality how we can reload it, I can provide the code to execute that reloading when you click the button.

    #8038
    Fabian
    Participant

    I don’t know, if this helps: https://isotope.metafizzy.co/#initialize-with-jquery
    A solution for this problem would be great. I can also contact the theme developer if you need further information

    #8049
    Tom
    Keymaster

    It may be something you need to ask the theme developer. We can write JS to execute on load more click, but we need to know the JS to reload the images.

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.