# SharinPix Merge Album

{% hint style="info" %}
The **SharinPix Merge Album** component permits merging images from a specific SharinPix Album to another album.

It could be used to pull images from an existing record (from a field pointing to this record) and copy those pictures into the current record.
{% endhint %}

<figure><img src="https://2221230591-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5EvYRrLbUyvRh8o1jmMG%2Fuploads%2Fgit-blob-2413f580784045e027742ab6ecb9d5ac8ac6baa8%2Fimage%20(13).png?alt=media" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
**Information:**

This feature is only available on Lightning. It can be used on:

* Page Builder
* Desktop
* Mobile
* In your own Lightning Component development
  {% endhint %}

## Getting Started

To use the **SharinPix Merge Album** component, you simply need to drag and drop the component from the Lightning App Builder onto your page layout.

<figure><img src="https://2221230591-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5EvYRrLbUyvRh8o1jmMG%2Fuploads%2Fgit-blob-2f0d95527f6e5761cbabc704327445cfc2ee6da6%2Fimage%20(14).png?alt=media" alt=""><figcaption></figcaption></figure>

## Lightning Component Parameters

<figure><img src="https://2221230591-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5EvYRrLbUyvRh8o1jmMG%2Fuploads%2Fgit-blob-c97fed5774fcc85029108c105c76b981aaa11333%2Fimage%20(15).png?alt=media" alt=""><figcaption></figcaption></figure>

* **Button label:** Used to specify the button's label. The default value is **SharinPix Merge Albums**.
* **Source Record Id Field API Name:** API name of the field containing the record ID of the source album.
* **Duplicate Images:** Duplicate the images instead of permanently moving them. If this option is selected, the images in the source album will not be moved; instead, they will be duplicated.

## Demo

The picture below shows the **source album** on a Contact record:

![](https://2221230591-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5EvYRrLbUyvRh8o1jmMG%2Fuploads%2Fgit-blob-c8a2c46fa32eafdc29db0187293f4d79c780559c%2FScreenshot_from_2022-01-20_16-28-03%20\(1\)%20\(1\).png?alt=media)

The picture below shows the target album on an Account record **before** using the **SharinPix Merge Album** component:

![](https://2221230591-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5EvYRrLbUyvRh8o1jmMG%2Fuploads%2Fgit-blob-a7a197772f1928d5f41e57b66284f3541548f83f%2FScreenshot_from_2022-01-20_16-35-55%20\(1\)%20\(1\).png?alt=media)

To merge the images from the source album to the target album, click on the button **SharinPix Merge Album**.

The picture below shows the result in the target album **after** using the **SharinPix Merge Album** component:

![](https://2221230591-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5EvYRrLbUyvRh8o1jmMG%2Fuploads%2Fgit-blob-75fa2031c4ad146e7e134bf427fd626182aede71%2FScreenshot_from_2022-01-20_16-42-00%20\(1\)%20\(1\).png?alt=media)
