> ## Documentation Index
> Fetch the complete documentation index at: https://docs.pureclarity.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Image Model

> Model available for use in the Templates, and also returned by PureClarity in server-side requests

Model available for use in the Templates, and also returned by PureClarity in server-side requests

## Properties

<ParamField body="url" type="string">
  The location of the image file
</ParamField>

<ParamField body="linkLocation" type="string">
  The link location of where a user should be taken if they click the image
</ParamField>

<ParamField body="altText" type="string">
  The Alt Text attribute for the image
</ParamField>

<ParamField body="type" type="string">
  set to staticImage
</ParamField>

<ParamField body="clickEvt" type="string">
  The JavaScript function to be executed on mouse down over the image element. NOTE: This is required to track when users click through on a product. If this is omitted then reporting will be inaccurate.
</ParamField>

<ParamField body="html" type="string">
  \[Serverside mode only] The html rendered version based on the Template
</ParamField>

## Example

```json theme={null}
{
  "url": "https://example.com/images/promo-banner.jpg",
  "linkLocation": "https://example.com/promotions/spring-sale",
  "altText": "Spring Sale - 30% Off Everything",
  "type": "staticImage",
  "clickEvt": "_pc('track','click',{zoneid:'HP02',campaignid:'789'})",
  "html": "<div class='pc-image'><img src='...' /></div>"
}
```
