Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #125810
    TGG
    Guest

    Hi, on our Sales page, the images for the testimonial customer are not showing up (https://ibb.co/RgTq9G5). We think it has something to do with lazy load settings. (Test-deactivating W3 Total Cache allowed all images to display properly.)

    I added “skip-lazy” in the Additional CSS field of the testimonial block (Kadence Theme), but no effect (https://ibb.co/HCd4Q7d). I noticed in the Excluded Words section of W3TC, it says “skip_lazy” with an underscore (https://ibb.co/g70gzB8). I also tried with underscore, to no avail. Not sure if this matters in my css?

    Sometimes the image displays properly (https://ibb.co/QNDjh4H) on various pages, but other times it does not. Any ideas on how to properly exclude an image in Kadence?

    #125824
    Marko Vasiljevic
    Keymaster

    Hello

    Thank you for reaching out and I am happy to help.
    When inspecting the source, the testimonial images have this class and style:
    class="kt-testimonial-image lazy" style="background-image:
    As you can see they are lazyloaded by the theme or the plugin you are using for this, and this may cause conflict.
    In the W3 Total Cache there are various ways you can exclude images from being lazyloaded. One of them is to add skip_lazy, however, there is no skip_lazy added for those images as I can see.
    In Perforamnce>User Experience, since those are background images, you can disable the option: Process background images, save all settings, and purge the cache. This will result in all the images with style="background-image: not being lazyloaded by the W3 Total Cache.
    You can also exclude those testimonial images from Lazyload by adding the class name kt-testimonial-image to Perforamnce>User Experience>Exclude words section.
    Make sure to save all settings and purge the cache.

    I hope this helps!

    Thanks!

    #126080
    TGG
    Guest

    Your solution worked perfectly. Thank you.

    #126128
    Marko Vasiljevic
    Keymaster

    Hello,

    Thank you for your feedback. Glad to know the problem is resolved
    You are most welcome!

    We would really appreciate it if you could take a minute and post a review here. This will help us to continue offering a top-notch product to users.
    Thanks!

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Trouble with excluding an img from lazy load’ is closed to new replies.