# Using Collage on Search Component

The Collage ability enables combining **two** images from a SharinPix Search component into a new image, uploaded to the SharinPix Album. The album to which the new collage will be uploaded will be the album for the record page on which the Search component is being used.

To be able to use this feature, we will need to:

* [Create a SharinPix Permission to enable the Collage ability.](#create-permission-to-enable-collage-ability)
* [Add the SharinPix Permission to the Search Component.](#add-permission-to-search-component)

## Create Permission to enable Collage ability

Go to SharinPix Permission from the App Launcher, create new permission, select **Search** , and enable the collage ability as shown below:

<figure><img src="/files/MvymZPPNUNVJ9XRXdscn" alt=""><figcaption></figcaption></figure>

## Add Permission to Search Component

Add the SharinPix Permission Name or Id you created in the component search parameters as shown below:

<figure><img src="/files/S6Mwz4F2yki2NRDmXRzx" alt=""><figcaption></figcaption></figure>

## Demo

The picture below depicts a SharinPix Search component.

<figure><img src="/files/pl17n8muEpSLEMESDcS3" alt=""><figcaption></figcaption></figure>

Start by selecting two images. The Collage feature should be enabled after the selection as depicted below:

<figure><img src="/files/ZYYKCGnwLPA7z4UNqdyE" alt=""><figcaption></figcaption></figure>

Click on the button 'Create collage' to start the collage:

<figure><img src="/files/CxMFopR1RjJSdQGxXVzO" alt=""><figcaption></figcaption></figure>

Click on the save button to save the collage on the SharinPix Album. At this point, users can adjust, zoom in or out the images in the collage:

<figure><img src="/files/JuFAY8ytOn50LTQDr5SH" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/lqbus9ywfgjSFOslyDcc" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
**Note:**

This feature also saves the collage in a SharinPix Album component. Therefore, to synchronize your images, you must enable image sync on [SharinPix Search component.](/documentation/lightning-web-component/sharinpix-search.md#lightning-component-parameters)
{% endhint %}


---

# 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.sharinpix.com/documentation/features/search-images/using-collage-on-search-component.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.
