Woocommerce Useless Image Requests

My installation is WordPress 5.3.2, Woocommerce 3.8.1, StoreFront 2.5.3, no other plug-ins. I have created one variable product with one image. When my browser hits the product page it asks for three images: Body-Renda-Grega-Manga-Comprida-Capa.jpg Body-Renda-Grega-Manga-Comprida-Capa-416×312.jpg Body-Renda-Grega-Manga-Comprida-Capa-324×324.jpg This is the link: https://bean.pt/dev/loja/bodies/body-renda-grega-manga-curta/ This seems highly inefficient, they are the same image, why not just download the…

Details

How to extract alt attached image in a shorter way?

I am currently extracting the post attachment image (note: NOT the featured image, but a simple attachment img) this way: (functions.php file) function haruki($post_id) { global $post; $thumbnail_ID = get_post_thumbnail_id(); $images = get_children( array(‘post_parent’ => $post_id, ‘post_status’ => ‘inherit’, ‘post_type’ => ‘attachment’, ‘post_mime_type’ => ‘image’, ‘order’ => ‘ASC’, ‘orderby’ => ‘menu_order ID’) ); if ($images)…

Details