Back to Top

Magento 2 Image Search

Updated 14 May 2024


Product Search Via Image for Magento 2 extension is actually a majestic feature for the Magento 2 eCommerce Store to facilitate the buyers to search by image.

Advancing the store with the search-by-image feature provides a better search experience for the end-users.

Also, before uploading the images for your store products, you can check the nature of the images using the Magento 2 Indecent Content Checker extension.

Through machine learning, the system recognizes the image uploaded by buyers and displays the keywords related to the image by clicking on which the related search results get displayed.

Hence, this technique is quite an innovative feature for bettering the search activity of website visitors.

Searching for an experienced
Magento 2 Company ?
Find out More

Also, if you want to enhance your store with the AI-powered image search for products, you can check Magento 2 AI Image Search.

Additionally, if you want to add functionality to remove image background, you can check Magento 2 Image Background Removal.

Watch the below video tutorial to understand the extension workflow:



  • The admin can enable/disable search by image module.
  • The customers can search the product by uploading the image using the search bar.
  • The customers can click on the keyword generated by the image upload to search the relevant products.
  • Both guests and logged in customers can search the product using the product image.
  • Time-saving feature and easy to better the search experience for the buyers.


The customers will get a zip folder and they have to extract the contents of this zip folder on their system. The extracted folder has an src folder, inside the src folder you have the app folder.

Therefore, You need to transfer this app folder into the Magento2 root directory on the server as shown below:

Magento 2 Image Search - Installation

After the successful installation, you have to run these commands in the Magento2 root directory:

After the successful installation, you have to run these commands in the Magento2 root directory:

First Command:

php bin/magento setup:upgrade

Second Command:

php bin/magento setup:di:compile

Third Command:

php bin/magento setup:static-content:deploy

Multi-Lingual Configuration

For the multilingual support, the admin will navigate through Store->Configuration->General ->Locale Options and select the locale as German (the language into which admin wants to translate his store content).

Magento 2 Image Search - Multi-Lingual Configuration

Language Translation

If the user wants to translate their module from English to German then they need to follow the path

app/code/Webkul/SearchByImage/i18n in their unzipped SearchByImage folder and will get a CSV file with name “en_US.csv”.

Now they will rename that csv as “de_DE.csv” and translate all right side content after the comma in the German language. After editing the CSV, save it and then upload it to the

path app/code/Webkul/SearchByImage/i18n where they have installed Magento2 on their server. The module will get translated in the German Language. It supports both the LTR and RTL languages

Module Configuration

After installing the module, you will be able to see the configuration panel under Stores-> Configuration-> Webkul-> Search By Image Module and admin can configure General Setting to facilitate the end-user with the better search experience.

Magento 2 Image Search - Module Configuration

Module Workflow

After the successful installation of the extension, a camera icon gets added to the search bar.

Magento 2 Image Search - camera icon

The buyers can upload the desired image to search for the related products by clicking on this icon.

Magento 2 Image Search - upload file

When a buyer uploads an image, it gets detected through machine learning

Magento 2 Image Search - Analysing the image

And then the keywords related to the image get display below the image.

Magento 2 Image Search - keyword

When a buyer clicks on the keyword, the results (products) related to that keyword get display.

Magento 2 Image Search - keyword based

Also, more refined search results, you can use Magento 2 Layered Navigation Extension.


That’s all for the Magento 2 Image Search Extension.

If you still have any issue feel free to add a ticket and let us know your views to make the module better at

Current Product Version - 5.0.4

Supported Framework Version - Magento 2.0.x, 2.1.x, 2.2.x,2.3.x, 2.4.x

. . .

Leave a Comment

Your email address will not be published. Required fields are marked*

Be the first to comment.

Back to Top

Message Sent!

If you have more details or questions, you can reply to the received confirmation email.

Back to Home

Table of Content