Add Different Images to Different Magento Store Views
Magento offers you an extremely valuable opportunity to add details in different languages to one and the same product without the creation of as many duplicates as languages you have. This is achieved by Store Views functionality.
As you have already understood, Views are used when you need to indicate details in different languages for the same product with the same SKU. In most cases, it is relevant for text information, like name, description, metadata. But how about images? Is it possible to add various pictures to different views/languages?
Well, why not! There may be the situation when your images have text in different languages on them, like when you sell perfumes and or video games with a name on the package, or just need visitors from different countries to see different images.
Famous slogan says, “Impossible is nothing”, it is true, especially what concerns Magento. There are a few ways to add images in the way so that they could be visible in one language/view, but not in other ones. However, you should be ready that this requires from you some efforts.
Manual Exclude Corresponding Images for Store View
You can add images to default View to Image Gallery. Then open edit product form and in ‘Images’ for each language enable needed images, excluding those which will be used for other languages. Switch the view and repeat the process.
Let’s check it on example. Imagine you have 3 Store Views - English, Korean and Japanese. You added 10 images to the Gallery. Now edit product form should be opened, then you select English language view and in the tab ‘Images’ tick first image as a base, second as small and third one as a thumbnail. Other 7 images set as excluded in the appropriate column.
In case radio buttons are inactive and cannot be changed it means you have the option “Use default” enabled and you have to uncheck it.
Next you switch to Korean language and in the tab images choose forth image as a base, fifth as small and sixth as a thumbnail. First 3 images and last fours should be excluded for this language.
For the Japanese language you repeat the procedure with image assigning the once left and excluding those which are used for other views.
This way, you have completely different images for different languages/views, since you have excluded those which should not be shown in a particular language.
Massive Assign or Hide Images for Different Store View
Most likely you think that you can create the import file for every language/view and upload images for each of them separately. It is true, but eventually, all the images will be shown in all shop views and you will have to manually change their visibility for each language you have.
The reason is that absolutely all images you add to the product are placed to Media Gallery, no matter if they are added for each language separately. The only way to hide them is ‘Exclude’ option.
So if you need assign images to appropriate language and also indicate which should be excluded, use Store Manager for Magento to run the import.
Import File Example
Again, let’s take the same example with English, Korean and Japanese Views. For each you need to include in the file columns marked with the language code, in our case - en, ko and ja.
As was already said above, all the images get to Media Gallery, so depending on the language you can exclude images for each particular view. So we are adding the images - 3 for English, 3 for Korean and 4 for Japanese Views (10 in total). All of the images names are indicated in the Media Gallery Column of your file (multiple images are separated by a delimiter, in our case - semicolon symbol).
Let’s see columns responsible for images availability at a definite view.
For English images 4-10 will be excluded (have '1' value, that means true) and images 1-3 will be visible in this view ('0' value that means that images are not skipped for this language).
For the Korean language Exclude column is different, indicating which images are enabled and disabled for this view -
0 value corresponds to the position of images 4, 5 and 6, so it means that only these pictures will be visible for the selected view. Other images have 1 values in front of them, so it means that they are not included into the view when switching the Korean language at the front-end.
Respectively for the Japanese language we can set images 7, 8, 9 and 10 available (setting 0 value in front of them) and pictures from 1 to 6 exclude from the list of available images in the Japanese language (1 value for them).
Now you can run Import Wizard of Store Manager and apply changes made in the file to your live shop.
Make your products special and prominent at each store view, on any language with FREE version of Store Manager - Start Now!
Upload Magento Swatch Images to Configurable Products
Get the full explanation of Magento swatch images and their purpuses and find out the ways to assign them to products via admin and Store Manager. Read More...
Enrich Your Magento Products with Descriptions, Images and Specifications from ICECat
Find out what is ICEcat and what you can get after integrating your Magento store with this content provider. Read More...