Skip to content

How to Set Up Image Search

Setting up image search is four fields and one test. The test is the part people skip, and it is the only part that proves anything.

Go to DevDiggers Plugins → Product Search By Image AI → Configuration → License and enter the purchase code and email from your order.

The License tab showing an active license

Until this reads License Active the storefront loads nothing. Every step below would then leave you looking at a search box with no icon in it.

Go to Configuration → General and tick Enable WooCommerce Product Search By Image AI.

The Enable checkbox at the top of the General tab

This is off on a fresh install, so nothing has appeared on your storefront up to now.

Step 3: Leave the AI service on TensorFlow.js

Section titled “Step 3: Leave the AI service on TensorFlow.js”

The AI Service Provider field ships on TensorFlow.js (Client-side, Free), which needs no account and no key.

The AI Service Provider picker

Start here. It costs nothing per search and the photo never leaves the shopper’s device, so it is the option to rule out before paying for another. How to Choose an AI Service Provider covers when the other two are worth it.

Set Search Type to Products Title & Image Tags Both.

The Search Type picker

This is the setting that decides whether image search finds anything. The shipped default, Products Title, runs an ordinary WordPress search for the whole list of extracted words, and WordPress requires every one of them to match. A photo produces up to ten words, so that search usually returns nothing. Both matches a product when any single keyword matches its title or its image tags.

Press Save Changes.

Open your shop page and look inside the product search box. A small camera icon sits at the right-hand end of the field.

The camera icon inside the product search box

No icon means one of three things: the license is not active, Enable is not ticked, or the box you are looking at is not a WooCommerce product search form. A theme’s plain search widget is a different form and never gets the icon.

Press the icon and pick a photo of something you actually sell. The page dims and the loader appears.

The Analyzing Image loader over the shop page

On the first search TensorFlow.js also downloads its model, so give it longer than you expect. Later searches on the same device are quicker.

The store lands on its own search results with the keywords box above the products.

The keywords box above the matching products

Two things to judge here, and they are separate.

  • The chips: These are the words the service read out of your photo. Some will be wrong. That is normal, and it is why every chip is a link the shopper can use to drop the rest.
  • The products: If sensible chips came back and no products did, your catalogue does not use those words. That is what image tags fix.

Go back to Dashboard. Your test shows up as one more Total Search, and as a Successful Search if any keyword came out.

The four counters on the dashboard

The counters are cached for a few minutes, so give it a moment if the number has not moved yet.