How does the search work?
The search on both your website and on the admin space look into all of your images' metadata (keywords, caption, location…), but they work in different ways.
Search in the admin space ("internal search")
When you search for images within your admin space (My Images & Videos), the system looks for exact matches. For example, a search for cats will not return and image with the keyword "cat". Partial matching and wildcards are not supported.
Tip: to look for an image, enter its ID. The ID of an image is its filename, without the .jpg/.tif extension.
You can limit the search to look only at keywords instead of the whole metadata by using the keywords search field.
You can also save a search as a Smart Collection. The internal admin search is also used by the automation features.
The search is NOT case-sensitive. It looks at the following metadata: image ID (filename minus its .jpg/.tif extension), title, description, location, city, country, state, region, keywords, author.
Search on your website, public galleries
This also applies to private galleries which public indexing is forced via the gallery's authorizations panel.
On your website, the search looks at the same metadata fields, but is much more sophisticated. For example, it knows plurals, so a search for cats will return images with the keyword "cat". It relies on a separate image search index, that is updated separately.
As a consequence, it can take a couple of hours before new images / new keywords appear in the search on your public website.
Search on your website, private galleries
This also applies to public galleries which public indexing is forbidden via the gallery's authorizations panel.
Media in protected galleries aren't included in your website's public search index. They can only be found from the gallery that holds and protects them.
To search for images in a private gallery, a client therefore has to open that gallery, authenticating himself if needed, and perform the search from that gallery.
Results of a search from a private gallery include media in those sub-galleries that inherit the same authorizations (unless the private gallery contains over 20.000 media in total). In this case, the results are always grouped by sub-gallery by default.
This applies to both the search in the admin space and the search on your website.
Boolean operators help you or your visitor refine their search. For instance:
- Apple Orange or Apple AND Orange will return all images that have both words in their metadata ;
- Apple OR Orange will return images that have either the "Apple" word or the "Orange" word in their metadata. Note that the OR operator must be in capital letters ;
- "black cat" will return images that match the exact phrase "black cat" ;
- Kid OR Child AND Male will return images of boys (the "AND" is optional) ;
- A AND B OR C AND D AND E OR F means "A AND D AND (B OR C OR E OR F)".
Grouping search results by gallery on your website
When your galleries contain very similar images, you can group results by galleries via My Website / Setup / Advanced settings.
This way, when performing a search, your client gets the list of galleries having images that match, along with the number of results of matches per gallery.
Displaying search box on another website
You can display a search box on any website by adjusting and pasting the following piece of HTML code (replace YOUR-PHOTODECK-URL-HERE by your own website URL):
<form accept-charset="UTF-8" action="///YOUR-PHOTODECK-URL-HERE" method="get">
<input name="search" placeholder="Image search" type="search">
<input name="commit" type="submit" value="Go">