atomic-result-image

This is for:

Developer
In this article

See Display results to learn more about customizing your result templates.

The atomic-result-image component renders an image from a result field.

Properties

Property Attribute Description Type Default

fallback

fallback

An optional fallback image URL that will be used in case the specified image field is not available or encounters an error.

string | undefined

field (required)

field

The result field which the component should use. This will look for the field in the Result object first, then in the Result.raw object. It is important to include the necessary field in the atomic-search-interface component.

string