---
title: "Create layered images"
slug: "create-layered-images"
abstract: "Overview of layered images using public links."
---
# Create layered images

You can create a layered image by chaining public links. This lets you create backgrounds, for example, and then filter image assets with matching ratios to use as templates.

When you chain public URLs, the URL is:

`https://<sitecore-content-hub-instance>/api/content/<image1_url>?&b=<image2_url>,<image3_url> `

Where:

- `b` is the image merging parameter.
- `image1_url`, `image2_url`, and `image3_url` are the public links of the image assets you want to merge. You must separate chained public links with a comma.

> [!note]
> You can chain as many public links as you want.

In the following example, the public link for the background layer called `back2` is:

`https://<sitecore-content-hub-instance>/api/public/content/back2`

![Background layer](https://doc.sitecore.com/api/markdown-image/ch/en/users/content-hub/images/background_layer.png)

> [!note]
> The name for the public link URL path (`back2`) is defined when you create or edit the public link. In this example, the overlay works because it uses `.png` file formats with transparent backgrounds.

To add a layer on top, the public link for the second image called `product2` is appended:

`https://<sitecore-content-hub-instance>/api/public/content/back2?b=product2`

![Layer 2](https://doc.sitecore.com/api/markdown-image/ch/en/users/content-hub/images/layer_2.png)

When you layer images, images in a layered file format, such as `.ai`, `.psd`, or `.pdn`, do not offer the transformation functionality in their original format. However, because **Preview** and **Thumbnail** do not render in `.png`, these renditions support transformations. You cannot, however, apply transformations to a chained public link.

> [!important]
> You cannot transform image files larger than 50 MB or video files larger than 5 GB.