Join us March 21 for an AMA on planning your 2023 marketing budget with 2H Media co-owners, Matt and Aron

Broken Image in Flickity Carousel

Solved
SarahStenz
New Member
2 0 0

I'm using a customized version of Dawn that includes a Flickity carousel for product images. Anytime I add more than 4 images, the 5th image appears as broken until the carousel is engaged with (either swiping or clicking the arrow on the main image). 

Here's a screenshot:

 

SarahStenz_0-1673556640737.png

I've searched but haven't found any solutions. Any advice on how to fix? TIA!

Accepted Solution (1)

Accepted Solutions
EBOOST
Shopify Partner
394 141 107

This is an accepted solution.

Hi @SarahStenz 

May I suggest you remove loading="lazy" after that use layzload of Flickity 

https://flickity.metafizzy.co/options.html#lazyload

Hope can help

If you find my reply helpful, please hit Like and Mark as Solution

EBOOST

View solution in original post

Replies 2 (2)
EBOOST
Shopify Partner
394 141 107

This is an accepted solution.

Hi @SarahStenz 

May I suggest you remove loading="lazy" after that use layzload of Flickity 

https://flickity.metafizzy.co/options.html#lazyload

Hope can help

If you find my reply helpful, please hit Like and Mark as Solution

EBOOST
SarahStenz
New Member
2 0 0

Thank you so much!!

 

The code was already using Flickity lazyload, but I didn't know how to change the number of images loaded. I found it, thanks to you and it worked perfectly 🙂