Product Import Export Plugin for WooCommerce facilitates you to import products along with their images into a Woocommerce website using a CSV file.
When you import images for products, WordPress dynamically regenerates thumbnails of the images of that product. However, sometimes even if the full-size images are uploaded, the regeneration of the product thumbnails results in an error resulting in blank thumbnails.
Image thumbnail regeneration failure can due to any of the following reasons:
- Conflict with any existing image optimizer plugin
- ImageMagick and limitations in hosting
- Dimensions or size of the image
Conflict with any existing image optimizer plugin
The regeneration of thumbnails, while importing using the Product Import Export plugin can result in an error due to conflict with any existing image optimizer plugin.
When importing an image, if any image optimizer plugin is active, the plugin may try to compress and optimize the images and reduce its size. This prevents the regeneration of thumbnails.
If you are using any image optimizer plugin, and if the error in thumbnail regeneration is due to this conflict, it can be avoided by deactivating the plugin while the import and trying again the import.
ImageMagick and Limitation in Hosting
When this is the case, the image regeneration issue can be resolved by adding the line SetEnv MAGICK_THREAD_LIMIT 1 to the top of the .htaccess file.
ImageMagick uses multiple threads to process the images as fast as possible. But using multiple threads can cause the error of image thumbnail regeneration because of the limitations in hosting that prevents you from running multi-thread tasks.
This can be avoided by limiting ImageMagick to a single thread. The above line sets the number of threads for ImageMagick to 1 and will successfully generate thumbnails for the images.
Dimensions or Size of the Image
If the size or dimensions of the image are too small or too large, WordPress fails to generate thumbnails for that image or the thumbnails generated will be pixelated or blurry. This can be overcome by making sure that the images being imported are of optimal size and dimensions.
To know more about Product Import Export plugin visit our product page.
- Was this article helpful?
- Yes, thanks!Not really
Comments (4)
Mark
September 3, 2018
Hi Lily,
The issue you are facing may be due to some theme conflict. Kindly try to regenerate thumbnail under Woocommerce > status > tools > regenerate thumbnail.
K L
August 31, 2018
Many of the thumbnails regenerate, a bunch do not. It can’t be a size problem, not only are they all exactly the same dimensions and dpi, but in one case the thumbnail is identical to two products that regenerated successfully (3 of the same item.)
Suggestions?
Lily
Chris
December 12, 2018
Hi Lily, did you manage to fix this issue? I’m having the same problem and it’s driving me nuts. I’m on Hostgator shared plan. Thanks
Mark
December 12, 2018
Hi Chris,
The issue of thumbnail regeneration failure during import might be due to some theme conflicts. Kindly please try Regenerating the thumbnails manually from Woocommerce > status > tools > regenerate thumbnail.
If the issue still persists please reach us via support.