atomic-result-image
atomic-result-image
|
|
Note
This component was introduced in version |
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 |
|---|---|---|---|---|
|
|
An optional fallback image URL that will be used in case the specified image field isn’t available or encounters an error. |
|
|
|
|
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’s important to include the necessary field in the |
|
|
|
|
The result field that contains the If the field isn’t specified, or doesn’t contain a valid value, the alt text will be set to "Image for {productName}." |
|