Setting up images in Magento 2 is an important step of catalog handling. Doing this you should get acquainted with some specifics, Magento 2 introduces in terms of image management.
Similarly to its predecessor Magento 2 allows to configure small, base, thumbnail images and offers new image type, called swatch image. If you have abundance of products and need to attach photos to them, you can fulfill the task via admin import functionality. Beside traditional image upload from the local server, there has been added the possibility to assign pictures to products via import having URL path to them in .csv file.
Below in this article we are going to outline the overall process of importing images (from local server as well as remote ones) to Magento 2 via default import tool.
This method of Magento 2 image import requires you to fulfill two preconditions:
Further you have to specify image names in certain columns of your .csv files, depending on the roles, these images should perform at the frontend (Base, Small, Thumbnail or Additional images). Insert names of images in base_image, small_image, thumbnail_image columns respectively. If there are several additional images to be assigned to single product, use comma separator to detach their names in additional_images column.
When you have adjusted the import file, adhere to the following steps:
If images are stored on external server, you can import them to Magento 2 having full URL path in corresponding .csv file column (base_image, small_image, thumbnail_image, additional_images).
The screenshot, attached below, demonstrates extract from Magento 2 image import file and includes test image addresses.
To upload product photos from URL, you should adhere to the steps as they are outlined above.
Image import to Magento 2 is certainly a valuable facility, although at times it requires excessive manipulations. Imagine you have hundreds of new products to be uploaded to Magento store, each having Base, Small, Thumbnail images and a couple of Additional images to be displayed in the gallery. These should be first copied to /pub/media/import and afterwards ascribed to merchandise through import.
If you are looking for the way to optimize import of images to Magento 2 and bypass extra challenges, you can consider exploiting Store Manager for Magento. Beside manual mode of bulk image assign, Store Manager handles import of local and remote images.
Using Store Manager to upload locally stored images, you do not need to store them in /pub/media/import beforehand, as it is required by admin import tool. Instead, you just need to provide path to the folder on your PC that keeps images, you need to import to Magento 2.
Detailed step-by-step tutorial on image upload via Store Manager for Magento is available in this post - Import Images With Store Manager for Magento
Find out how to quickly update Magento 2 images via import and detect the duplicates. Read More...
Check the ways to add visual swatches to your Magento configurable products for better presentation. Read More...
Detailed guides on how to import images from URLs including the list of required CSV columns. Read More...
Find out how to prevent your images from getting duplicated, unlinked or undisplayed and what to do if issue occured. Read More...
This website uses cookies.