# Image Syncing

## How It Works

By setting images in your spreadsheet, you can have ContentSync dynamically swap images for each content version.

{% hint style="info" %}
Image syncing only works when pulling images.
{% endhint %}

## Spreadsheet Format

To sync an image, the image must be set in the spreadsheet for the content key of the image layer.

### Raw Image URL

The easiest way is to set the value of the key to the URL of the image you would like to use. Make sure these urls are publicly available so Sketch can access it.

### Image Formula

You can also use image formulas on Google Spreadsheets so you can preview the image in your spreadsheet itself. Simply set the value of the cell to `=image("https://path/to/image.png")`.

## Layer Support

### Symbol Instance Image Overrides

Symbols with image layers or fills may provide image overrides. The key of override for the image will be used to sync the image.

### Bitmap Layers

Not currently supported.

### Shape Layers

Not currently supported.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.contentsync.com/plugins/sketch-plugin/features/image-syncing.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
