We were building a WooCommerce site for our customer, and all the products is from the other affiliate site. There are over 10,000 products. While importing all these products is simple (from a CSV!), we don’t want to put over 40,000 product images on our sites (average around 4 images per product). That takes lots of space, and that takes lots of time to upload! So we decided to just reference all images from the original site. Here is how we do it.
The CodeThe code contains a Uyond_External_Image class and a product-thumbnails.php template. You can just simply copy and paste this to your theme to make it work.