I have lots of configurable products. Everything is working fine but the issue with product images. I have uploaded images to every configurable product but I forget to assign them as Base Image , Small Images, Thumbnail so that images are not visible to the frontend.

enter image description here

Could anyone please suggest me any easy way to assign images programmatically or any other way rather than assigning each image from admin panel because there are lots of configurable products?


I am trying to import the following CSV file to make images selected but still no success CSV FILE

Thank You!

  • You can assign images by import product csv with sku and images. Commented Nov 27, 2016 at 9:11
  • Thank You @SHPatel, Should I export the CSV first and then Import the same CSV ? or I have to make any changes in it? Commented Nov 27, 2016 at 9:27
  • You have to first export product csv file, edit csv file with delete all other fields and keep only sku with images field and then import it. Commented Nov 27, 2016 at 9:46
  • I have checked your csv which you have shared. can you tell me images path in your root folder. Working csv for me. I think there is just images path issue so share me images path so i will suggest to you for next use. Commented Dec 1, 2016 at 8:41

1 Answer 1


You can assign images to product by import product csv.

Check below sample csv file for import sku with image, assing images to product.

enter image description here

Let me know if you have any query from above.

I hope it will help for you.

  • Shall I remove all other fields like category, type and other configurable product options? Commented Nov 27, 2016 at 10:09
  • Yes you can remove all the fields. just inputed sku with images details. Commented Nov 27, 2016 at 10:10
  • Okay let me try. Commented Nov 27, 2016 at 10:27
  • For now I am trying with one product but when I try to import by selecting import behavior "Replace Existing Complex Data" or any other option, It gives me the error Column names have duplicates Commented Nov 27, 2016 at 10:48
  • Now error is fixed but still not showing the images in front-end after successful import. Commented Nov 27, 2016 at 11:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.