Working with Images

The Search Framework supports the use of images in search results. In some cases, a particular set of search documents would be easier to sort by the end user with the help of images appearing just to the left of the search results. For example, this might be useful in procurement catalogs showing items that can be ordered, or perhaps in an employee directory showing pictures of employees.

To include images, you need to ensure your underlying query is referring to the image properly. Similar to creating a drilling URL to a component or attachment, you create a drilling URL pointing to the image field. When creating the drilling URL, on the Edit Expression Properties dialog box, select Image URL. Then you supply the query name and image field name, making sure to set the expression to Use as Field.

When creating the search definition, if an image URL has been associated with the query, the Image URL field appears in the Search Result Field Mapping group box, which you need to set, similar to setting the URL Link.