> Documentation index: https://www.gooddata.ai/docs/gooddata-ui/llms.txt lists every page of these docs as Markdown.

# getPublisherThemeImageReferenceV2()

- Package: [@gooddata/sdk-model](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/index.md)
- Kind: function
- Stability: alpha
- Source: https://github.com/gooddata/gooddata-ui-sdk/blob/rel/11.64/libs/sdk-model/src/publisher/v2/imageSource.ts

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

The theme image an image source references, such as `{theme.assets.logos.main}`; undefined when the source is not a theme image reference.

**Signature:**

```typescript
export declare function getPublisherThemeImageReferenceV2(source: unknown): PublisherThemeImageReferenceV2 | undefined;
```

## Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| source | unknown |  |

**Returns:**

[PublisherThemeImageReferenceV2](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.publisherthemeimagereferencev2/index.md) &#124; undefined

## Remarks

Image references resolve only as an image source or a background image, never in text.
