Weird one here.
I have a Wordpress site with Woocommerce.
When I add products, and add a product image, I get a broken link in both admin and the live site. Both on the product list page and within the product.
The product image link itself is ok, the problem is the srcset
attribute. The wrong path is set - it repeats the year and month ..
http://photographybyjean.eu/wp-content/uploads/2017/01/2017/01/city-photo-600x600.jpg 600w,
...
Removing the srcset
attribute in Chrome Dev tools confirms that is the issue, because then the correct image is displayed.
Does anyone know where the Woocommerce php code for this is? I could easily fix it if I knew where it was generated from...
Oh, I am using the "ShopIsle" theme in case that matters.
EDIT: found the code - but it just calls wp_get_attachment_image_srcset
:-( Surely the WP core can't be broken??? Any ideas?