this is how i do mine - might help?
I have my product details on one sheet and the combination on a separate sheet in excel - then output to csv and upload
heres a script for adding photos to excel https://www.extendoffice.com/documents/excel/1156-excel-insert-multiple-pictures.html#a1