# 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="/files/KLhcclHArXt6bR79CjUV" 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="/files/2YgB9NLMLYZVdk8KXguz" alt=""><figcaption></figcaption></figure>

## Lightning Component Parameters

<figure><img src="/files/S3sC5tBpNsuHrhgdYlQR" 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:

![](/files/Ml3RLM7sbCzfvtsWTjzn)

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

![](/files/LvwVrwf138Hz7dRaeooK)

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:

![](/files/3wtyLNVgaVuxDOz68aFl)


---

# 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/lightning-web-component/sharinpix-merge-album.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.
