How To Configure Product Images In Magento 2

Positive young woman using laptop in modern living room with wooden staircase

Magento 2 is a popular e-commerce platform that provides online store owners with a wide range of features to help them sell their products. One of the essential elements of any e-commerce website is its product images. This article will guide you step-by-step on how to configure product images in Magento 2.

Speed Up Your Magento Store by 300%

Step 1: Understanding Product Images in Magento 2

Before we dive into the configuration process, let’s first understand the types of product images in Magento 2.

Base Image

A base image is the primary image of a product that represents it in the catalog, search results, and product pages.

Small Image

A small image is an optional image that appears on the category listing page and as a thumbnail on the product page.

Thumbnail Image

A thumbnail image is a small picture that appears in the shopping cart and the mini-cart.

Swatch Image

A swatch image is an alternative image that appears when a customer selects a swatch option.

Knowing the different types of product images in Magento 2 will help you configure them correctly.

Step 2: Uploading Product Images

The first step in configuring product images in Magento 2 is uploading them. Follow these simple steps:

  1. Log in to your Magento 2 admin panel.
  2. Navigate to the product you want to add images to and click on it.
  3. In the edit product page, scroll down to the Images and Videos section.
  4. Click on the Add Images button, which will open a file manager.
  5. Select the image you want to upload from your computer and upload it.

You can upload multiple images at once by holding down the "Ctrl" key and selecting multiple files.

Step 3: Setting the Base Image

The next step is to set the base image. Follow these simple steps:

  1. In the Images and Videos section, hover your mouse over the image you want to set as the base image.
  2. Click on the radio button below the image to select it as the base image.
  3. Save the product.

Step 4: Setting the Small and Thumbnail Images

After setting the base image, you can now set the small and thumbnail images. Follow these simple steps:

  1. In the Images and Videos section, hover your mouse over the image you want to set as the small image.
  2. Click on the radio button below the image to select it as the small image.
  3. Repeat the process for the thumbnail image.
  4. Save the product.

Step 5: Adding Swatch Images

If your product has variations, such as color or size, you can add swatch images to represent each variation. Follow these simple steps:

  1. In the Images and Videos section, click on the Swatch Image tab.
  2. Click on the Add Swatch button.
  3. Select the swatch option and upload the corresponding image.
  4. Save the product.

Step 6: Configuring Image Properties

Magento 2 provides several image properties that you can configure to enhance your product images’ appearance. Follow these simple steps:

  1. In the Images and Videos section, click on the base image you want to configure.
  2. Under the image, you will see several options, including Alt Text, Label, and Role.
  3. Enter the appropriate information for each option.
  4. Save the product.

You can repeat the process for the small, thumbnail, and swatch images.

Conclusion

Product images play a critical role in e-commerce, and Magento 2 provides a simple way to configure them. Follow the steps outlined in this article to ensure your product images are properly configured and enhancing your online store’s user experience.

Scroll to Top