Magmi - Issue uploading more than one media_gallery image

846 views Asked by At

i have been using Magmi for a long time and have never had issues until i started using the media_gallery column.

When using this column the first image is always imported. Any subsequent images appended by a ";" are throwing an error "cannot be found in image path".

Here is an example upload:

    sku     media_gallery
    00090   00090.pt01.jpg
    01321   01321.alt01.jpg;01321-pt02.jpg;01321-pt03.jpg;01321-alt02.jpg;0131-alt03.jpg;01321-lf.jpg
    01322   01322.alt01.jpg;01322.alt02.jpg;01322.alt03.jpg;01322.lf.jpg
    01327   01327.alt01.jpg;01327.pt02.jpg;01327.lf.jpg
    01417   01417.lf.jpg
    01433   01433.pt01.jpg
    2450001 2450001.pt01.jpg
    27730301    27730301.pt02.jpg;27730301.pt03.jpg
    31321   31321.pt02.jpg;31321.pt03.jpg;31321.alt02.jpg;31321.alt03.jpg
    31325   31325.pt02.jpg;31325.pt03.jpg
    46505   46505.pt02.jpg;46505.pt03.jpg
    52021   52021.pt02.jpg
    52251   52251.pt02.jpg
    58529
64413 64413.pt02.jpg 64750 64750.pt02.jpg 64751 64751.alt01.jpg 64755 64755.alt01.jpg;64755.pt02.jpg;64755.alt02.jpg;64755.alt03.jpg 64906 64906.pt02.jpg;64906.alt02.jpg 65114 65114.alt01.jpg;65114.pt02.jpg;65114.alt02.jpg 65123 65123.pt02.jpg 7732001 7732001.alt01.jpg;7732001.pt02.jpg;7732001.pt03.jpg;7732001.alt02.jpg;7732001.alt03.jpg 7732301 7732301.alt01.jpg;7732301.pt02.jpg;7732301.pt03.jpg;7732301.alt02.jpg 7791301 7791301.pt02.jpg 7792001 7792001.alt01.jpg;7792001.pt02.jpg;7792001.pt03.jpg;7792001.alt02.jpg 78030 78030.pt01.jpg 7805101 7805101.lf.jpg;7805101.pt01.jpg 8440501 8440501.pt02.jpg;8440501.pt03.jpg;8440501.alt02.jpg;8440501.alt03.jpg;8440501.pt01.jpg 90072 90072.pt01.jpg 93210301 93210301.pt01.jpg 99110 99110.pt01.jpg

</pre>

(Commas left out between columens but are there in import)

In the above example anything with one image imports perfectly. A sku with multiple images only imports the first one.

I am following all the standard rules such as using a semi-colon in between image names. I tried different enconding formats

The images reside in a remote path:

http://example.com/images/

I have spent many hours on this and would really appreciate any help.

1

There are 1 answers

9
dweeves On

You need to explicitely define the remote path on your media_gallery column for each image:

http://example.com/images/xxxxx.jpg;http://example.com/images/yyyyy.jpg;

or if you are using the latest magmi git , you might use the new "Remote Image root" field to define a remote server base url (http://example.com/images/) where all those images could be found.