Hello scottcwilson,
Thank you for contacting WooCommerce support.
Are you uploading the images via the Media Library?
If not, please upload them there and then try the import again. This can help ensure that the images are properly recognized by WooCommerce after the import.
Regarding the original filename with embedded spaces, it’s generally best to avoid spaces in filenames for consistency and compatibility. Using underscores or hyphens instead is recommended.
If you continue to experience issues, let me know.
I am here to help. 🙂
Best regards.
I’m not updating via Media Library; I have a large number of images (one for each product being imported via CSV). Does setting the image in the CSV product import not work?
Do I have to put them in the Media Library before I reference them? Is that the issue I am having – it’s not sufficient to simply drop a file in wp-content/uploads/
?
Hi @scottcwilson
Indeed, the images must be uploaded to the Media Library before they can be referenced in the CSV file for product import. Simply dropping the file in the wp-content/uploads/ directory isn’t sufficient. WooCommerce needs to create various sizes of images for different areas of your store, which happens during the upload process to the Media Library.
I understand you have a large number of images, but this step is crucial for WooCommerce to display them correctly. You can bulk upload images to the Media Library, which should speed up the process.
WooCommerce should technically be able to handle filenames with spaces, but as mentioned, it’s generally recommended to avoid spaces for compatibility reasons. Using underscores or hyphens is a best practice.
Additional tips:
- Make sure your server has enough memory and execution time for large imports.
- Consider splitting very large imports into smaller batches.
- Always backup your database before large imports.
Please try uploading your images to the Media Library and then import your products again. Let us know how that goes. Looking forward to helping you.
Thanks for your guidance, @shameemreza. I now see your point that it’s a multi-step process.
This was what tripped me up. I have done my first import successfully.
Hello @scottcwilson,
Thank you for confirming the resolution and sharing your success.
If you have any more questions or need further assistance, feel free to ask.
Cheers!