Images duplicated in configurable products import
Home > For Customers > Magento Store Manager > Magento Users Forum > Automated Product Import for Magento > Images duplicated in configurable products import

Images duplicated in configurable products import

May 16, 2016
Antonio Carrión wrote
Hi!

I performed a configurable products import including images (see attached example file). I followed this article point by point: https://www.mag-manager.com/useful-articles/magento-product-management/import-images-with-store-manager-for-magento/ just to be sure that i don't forget anything. Import works fine and products are enabled and visible in frontend. However, images appear duplicated, once by each option of my product. I mean, if product has 4 options, each image appears four times.

What am i doing wrong? Any help will be appreciated.

Thanks in advance.
Antonio
Reply
4 Answers
May 17, 2016
Maksym Dranivskyi agent wrote
Hello Antonio,

Thank you for your post

Magento 1.9.1 and higher comes with image management changes. One and the same image can not be assigned to multiple products with identical name. Store Manager works due to Magento logic, regenerates image name (e.g _1) if it is assigned to several products and adds the same image with different names. Check "Generate new image name, if image already exists" option to successfully upload pictures.

You can check the following forum posts as well:
http://stackoverflow.com/questions/28279190/magento-image-url-1-png-added-to-image-url

Let us know if you have any other questions
May 17, 2016
Antonio Carrión wrote
Hello Ira,

thank you for your post. I did exactly what you said in mi import process and images are shown in frontend as you say (_1). The problem i have is that every image is repeated in my product, one time for every option that my product have (i'm importing configurable products). I don't know if i am explaining properly. For example:

<image> <small_image> <thumbnail> <media_gallery> <media_gallery_position>

mu202841.jpg mu202841.jpg mu202841.jpg mu202841.jpg;mu202842.jpg;mu202843.jpg;mu202844.jpg 1;2;3;4

mu202841.jpg mu202841.jpg mu202841.jpg mu202841.jpg 1
mu202842.jpg mu202842.jpg mu202842.jpg mu202842.jpg 1
mu202843.jpg mu202843.jpg mu202843.jpg mu202843.jpg 1
mu202844.jpg mu202844.jpg mu202844.jpg mu202844.jpg 1

When i import this image structure, in frontend i can see mu202841.jpg four times, as four different images. And when i select colour to swatch images, every of them appears four times.

What am i doing wrong? I populated mi csv just as is explained in https://www.mag-manager.com/useful-articles/magento-product-management/import-images-with-store-manager-for-magento/

Thank you for your time,
Antonio,

May 18, 2016
Maksym Dranivskyi agent wrote
Hello,

Thank you for your reply

We can offer you the following workaround:
1) import all images with re-generate option checked, but assign only Base image column
2) after import, run Multi Editor/Products Multi Editor and use expression to assign Base image as Small and Thumbnail (see attached image):
[ATTRIBUTE([ATTRIBUTE(image)])]

Let us know if you have any other questions
May 18, 2016
Antonio Carrión wrote
Hello Ira,

thank you for your reply. Let me try your workaround, i'll tell you if it works.

Best regards,
Antonio.