# Images

{% embed url="<https://www.youtube.com/embed/YkjLrsFDE6Q?si=dvt8fFQWbHbnmoAk>" %}

When building fast, responsive Shopify themes, image sizing plays a crucial role in performance, consistency, and design quality. In this post, we’ll break down how to properly size images for the Flexi Theme Library, and share tools to help you optimize your images for retina screens and faster load times.

### Key Tools for Image Optimization

Before jumping into sizes, here are two tools we recommend using in your workflow:

* TinyPNG – An online compression tool that dramatically reduces file sizes without noticeable quality loss.
* Figma WebP Plugin – Export images directly in the modern WebP format using a Figma plugin. WebP offers superior compression over JPEG and PNG.

### Recommended Aspect Ratios & Sizes

We recommend preparing images in multiple sizes depending on context (retina, standard, lightweight, mobile). Below are the most common aspect ratios used in Shopify and suggested dimensions:

#### 1:1 Square

<figure><img src="https://1813371584-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1ayOFZFwSvWJ1vhnp8MG%2Fuploads%2FkeOAY8BnPVnEOOP1dtOn%2FSquare.png?alt=media&#x26;token=25397d9b-2571-43e7-bf27-32031c944e5e" alt=""><figcaption></figcaption></figure>

| Retina (2x) | 2160 × 2160 px |
| ----------- | -------------- |
| Standard    | 1080 × 1080 px |
| Lightweight | 800 × 800 px   |
| Mobile      | 540 × 540 px   |

#### 16:9 Banner

<figure><img src="https://1813371584-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1ayOFZFwSvWJ1vhnp8MG%2Fuploads%2Fsc7nu572Gb3fksIvziRZ%2FBanner.png?alt=media&#x26;token=de76728c-e3af-4f29-8b16-986873e94222" alt=""><figcaption></figcaption></figure>

| Retina (2x) | 3840 × 2160 px |
| ----------- | -------------- |
| Standard    | 1920 × 1080 px |
| Lightweight | 1280 × 720 px  |
| Mobile      | 960 × 540 px   |

#### 4:9 Landscape

<figure><img src="https://1813371584-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1ayOFZFwSvWJ1vhnp8MG%2Fuploads%2FVD4IrFEuftPfo38n5IEX%2FLandscape.png?alt=media&#x26;token=5377e3dc-eda2-4607-954e-4d42245d3726" alt=""><figcaption></figcaption></figure>

| Retina (2x) | 2400 × 1800 px |
| ----------- | -------------- |
| Standard    | 1200 × 900 px  |
| Lightweight | 1000 × 750 px  |
| Mobile      | 720 × 540 px   |

#### 3:4 Portrait

<figure><img src="https://1813371584-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1ayOFZFwSvWJ1vhnp8MG%2Fuploads%2FuE642Efy8MVVOG08alsY%2FPortrait.png?alt=media&#x26;token=603bbfc2-ed1f-4d94-b91d-4107df3b783c" alt=""><figcaption></figcaption></figure>

| Use         | Dimensions     |
| ----------- | -------------- |
| Retina (2x) | 1800 × 2400 px |
| Standard    | 900 × 1200 px  |
| Lightweight | 750 × 1000 px  |
| Mobile      | 540 × 720 px   |
