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

# resolvePublisherImageUrlV2()

- 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).
> 

An https image url with its text variables replaced, each value percent-encoded so that it stays one part of the url. A marker without a value stays as typed. Undefined when the result is not an https url.

**Signature:**

```typescript
export declare function resolvePublisherImageUrlV2(url: string, values: Partial<Record<PublisherTextVariableV2, string>>): string | undefined;
```

## Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| url | string |  |
| values | Partial&lt;Record&lt;[PublisherTextVariableV2](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.publishertextvariablev2/index.md), string&gt;&gt; |  |

**Returns:**

string &#124; undefined
