# lib/image

> Source: https://devdocs.joy.so/joy-headless-api/sdk-reference/hydrogen/lib/image/ · Last updated: 2026-11-24

## Variables

### ICON_IMAGE_SIZE

```ts
const ICON_IMAGE_SIZE: 260 = 260;
```

Render size in px for a card/modal icon — matches `processShopifyImage(url, 260)` on the theme side.

## Functions

### sizeShopifyImage()

```ts
function sizeShopifyImage(url, size): string;
```

#### Parameters

| Parameter | Type     |
| --------- | -------- |
| `url`     | `string` |
| `size`    | `number` |

#### Returns

`string`
