Broken images in product recommendations and search

I think this may be related to updating product images a few times, but on a product page, all the images for product recommendations are broken, although when you hover over the image, the second image works fine. The first image src has Liquid error (card-product line 55): invalid url input. The same thing happens on search results pages.

All the images on collection pages and on the actual product pages’ main images work fine.

Any idea how to fix that?

@TyssenDesign ,

Can you share the image URL and screenshot where the error exists?

In this image, I’ve hovered over the first image. The second image is what the page looks like when you’re not hovered over the image.

This is the source for one of the images. You can see the src for the first image is broken, but the one for the second image returns a valid URL.

@TyssenDesign ,

Please give me the store access on my email so I can check and let you know.

I found the answer to my problem. I’d customised card-product.liquid to display separate items per variant but hadn’t updated all the other places that called that snippet.