This filter enables 100 × 100 pixel product images in WooCommerce order tables. It affects both AutomateWoo and standard WooCommerce HTML emails.
Developer note:
Add custom PHP in a small custom plugin or child theme, and test it on a staging site before production. This example requires ongoing maintenance when extension APIs change.
functions.php
<?php
add_filter( 'woocommerce_email_order_items_args', 'my_store_email_order_item_images' );
/**
* Show product images in email order tables.
*
* @param array $args Email order-item arguments.
* @return array
*/
function my_store_email_order_item_images( $args ) {
$args['show_image'] = true;
$args['image_size'] = array( 100, 100 );
return $args;
}