# Enable Image Sync for Lightning

{% hint style="info" %}
This article demonstrates how to enable the Image Sync on an album in Lightning.
{% endhint %}

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

This article assumes that the Image Sync has already been enabled on your object.

If the Image Sync has not been enabled on the object or if you are not sure, refer to this article for steps to configure/verify the Image Sync configuration for an object: [Setup SharinPix Image Sync](https://docs.sharinpix.com/documentation/image-sync/setup-sharinpix-image-sync)
{% endhint %}

To enable or verify if the Image Sync has been enabled on the SharinPix Album component added to a lightning page record proceed as follows:

* From the record page, open the Lightning App Builder.

![](https://2221230591-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5EvYRrLbUyvRh8o1jmMG%2Fuploads%2Fgit-blob-0e0dd526f1ffa596a9ef2944c87fc1b41cb14ccc%2Fedit_page.png?alt=media)

* Next, click on the SharinPix Album component or drag and drop the component to the page if not done already.
* In the component's list of parameters, ensure that the **Enable Image Sync** checkbox is set to true.

<figure><img src="https://2221230591-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5EvYRrLbUyvRh8o1jmMG%2Fuploads%2FDFTy0BCXAKSlArZbUfty%2Fsync.png?alt=media&#x26;token=b56ff611-a097-4e61-b834-5f0f488de68b" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
**Note:**&#x20;

When the SharinPix Album component is added to the page record, the **Enable Image Sync** checkbox is checked by default on the component. Additional steps are required to get this feature fully working on your Salesforce object. Please refer to this article to complete the Image Sync setup: [Setup SharinPix Image Sync](https://docs.sharinpix.com/documentation/image-sync/setup-sharinpix-image-sync)
{% endhint %}

* Configure the other parameters as desired. You will find the detailed description of all parameters here: [https://docs.sharinpix.com/m/documentation/l/1249599-sharinpix-album#lightning-component-parameters](https://docs.sharinpix.com/documentation/lightning-web-component/sharinpix-album-lwc#lightning-web-component-parameters)
* Save the page once done.

To test if the Image Sync is working as expected for your user:

* Upload an image to the album component as depicted below.

<figure><img src="https://2221230591-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5EvYRrLbUyvRh8o1jmMG%2Fuploads%2FwXqouT1ixLqNM7ob12Ef%2Fupload.png?alt=media&#x26;token=65dc936e-5695-4964-8c5f-8a53e91b407b" alt=""><figcaption></figcaption></figure>

* Once the image is uploaded, verify if a related *SharinPix Image record* has been created for the newly uploaded image. You may need to refresh the page to verify this.

![](https://2221230591-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5EvYRrLbUyvRh8o1jmMG%2Fuploads%2Fgit-blob-bd5b9a6ffc5f3742f4da5eb4e492ede60a130d4c%2Fentry.png?alt=media)
