Hide product thumbnail image, If it’s a gif image So here is the code:
$( ".product-thumbnails img" ).each(function() {
  if ($(this).attr("src").indexOf(".gif") > -1) {
     $(this).css("display","none");
  }
});
   

Shopify Experts · OneOnic

Ready to Grow Your Shopify Store?

Our Shopify experts at OneOnic have helped hundreds of brands launch, optimise, and scale. Let’s talk about your project.