• Resolved jamminjames

    (@jamminjames)


    We are using your fine plugin for an image slider on our home page. One issue I’d like to solve is that, the first time through, the images (typically six images are used at any one time) get stretched in funny ways, if the previous image is not the same relative shape. The next time through, they are fine.

    Can this be solved by maybe preloading the images somehow? I tried the “Preload sliders” option, but that doesn’t do it.

    I like the effect of the slides changing shape as it goes from one to the other, but I think that is what’s causing the initial problem on the first go-through.

    We are using the Nivo Slider, with the “allow slider to display in full width (will keep width/height proportions)” and “center slider horizontally” options checked.

    Thanks for any help.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter jamminjames

    (@jamminjames)

    I discovered the culprit: the Lazy Load feature on EWWW Image Optimizer.

    Is there any way to disable Lazy Load for the slider? The images are tagged with slider class, so that might be a way to target them. Perhaps with a function in the child theme?

    Thanks for any help!

    Thread Starter jamminjames

    (@jamminjames)

    Okay, I fixed it by adding class="skip-lazy" in the “$template =” line of the display.php file, which is in the separate fa-themes folder under wp-content, recommended by the FA Lite author to keep the theme from being overwritten on updates. So, it’s a permanent fix.

    I’d recommend that be made an option in the plugin, though.

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘First time through, images stretched’ is closed to new replies.