How to change Product Image Placeholders in Magento 2


Magento 2 store allows users to save the reservation for a product image if a product with a missing image is added to the store. The replaced one is defined as the placeholder. The temporary image will be displayed on the product page until the official one is ready to be shown. By default, the placeholder is usually the Magento logo which is considered to be quite intrusive.

Change Product Image Placeholders magento 2

Thankfully, Magento 2 allows you to replace the placeholder image with your own one. This tutorial will guide you how to do that.

1. Login to the backend of your Magento 2 store.

2. From the Admin sidebar, navigate to Stores > Catalog > Catalog > Product Image Placeholders.

Product Image Placeholders

3. Click on the Choose File button to upload the placeholder image(s). It is possible to use the same or different images for each role in the list.

Base Image and Product feature image are the product Page feature image to display the product details.

Base Image and Product feature image

Small is the image used in listing pages or search results.

Small images

Swatch Image is used in color swatch on the product detail page or category listing.

Swatch Image

Thumbnail is the image appearing in the thumbnail gallery or shopping cart.


4. Click Save to finish.

That comes to the end of the tutorial. If you have any further questions on this topic, please comment below to let us know.

Rate this post


About Author

Daniel is a Magento developer with 5 years of experience with customizing Magento extensions, Magento templates. He's main author at Magento explorer

Leave A Reply