Help! Strange bug - Only some CMS images will display

I have 9 items in a CMS gallery. When I load the page, sometimes only 3 or 4 of the CMS items will load. Other times maybe 8 or all 9 of them will load. Every time I re-publish the site, the number seems to be different.

The images that don’t show up have a size of 0x0 pixels for some reason. Instead of seeing the image, all I can see is their 1px shadow. (See screenshots below)

https://preview.webflow.com/preview/zvs?utm_medium=preview_link&utm_source=designer&utm_content=zvs&preview=b3d493f978b7bc13d940e7921ffbf748&pageId=5f84901dbb33cd9a4fc84390&mode=preview

Hey,

hmm, there seems to be something with the lazy loading that causes this problem. When removing the “loading=lazy”-tag, they all seem to work fine.

Looking at your preview, your collection list items are set to display absolute which was causing major issues. Otherwise things looked alright to me.

Thanks it does look like this is causing the issue! Any suggestions on what to change?

I might just try to create and link a new CMS Collection with the same images and everything because lazy loading works on every other page that I have.

For now I have set my images on that page to loading = auto which should work until I find a better solution. Thanks

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.