Search by Image
Edit on GitHubSearch by Image lets customers find products by uploading a photo. A camera icon next to the search input opens an image upload dialog. After the image is uploaded, AI analyzes it, identifies a relevant search term, and redirects the customer — either to the catalog search results page or directly to the first matching product detail page (PDP).
Use case: A customer sees a product they want to buy but does not know what it is called. They photograph the product and upload the image using the Search by Image button. The system identifies the product and takes the customer directly to the matching product or a list of similar results.
Accepted file formats: JPEG, PNG, WebP, and GIF.
Use Search by Image on the Storefront
-
On any page with the search bar, click the camera icon next to the search input.

-
In the dialog that opens, click Upload image and select a photo from your device or take a new one using your smartphone camera.

-
The system analyzes the image and redirects you to the search results or the matching product page.

Enable Search by Image
To enable the feature, in the Back Office, go to AI Commerce > Search by Image > Search by Image and turn on Enable Search by Image.

Configure the redirect behavior
After enabling Search by Image, you can control where customers land after a successful image search. In the same settings group, set Redirect type to one of the following options:
| OPTION | DESCRIPTION |
|---|---|
| Search results | Redirects the customer to the catalog search results page for the identified search term. This is the default. |
| First result product detail page | Redirects the customer directly to the PDP of the first matching product. |
Developer resources
| RESOURCE | DESCRIPTION |
|---|---|
| Search by Image | Technical overview: architecture, configuration options, and AiFoundation integration. |
| Install Search by Image | Step-by-step installation guide. |
Thank you!
For submitting the form