# SharinPix Chatter

The **SharinPix Chatter** component enables users to add Chatter posts for a specific image from an album or a specific image annotation.

![](https://2221230591-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5EvYRrLbUyvRh8o1jmMG%2Fuploads%2Fgit-blob-9b6b04d0be9b9338de211a75373105aa8a4b88df%2Fscreenshot-spx-fsl-summer20-dev-ed.lightning.force.com-2020.08.12-16_51_20%20\(1\)%20\(1\).png?alt=media)

{% hint style="info" %}
**Information:**<br>

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

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

## Getting Started

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

<figure><img src="https://2221230591-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5EvYRrLbUyvRh8o1jmMG%2Fuploads%2Fgit-blob-868a6bba02c26cf55e65c9e8e2ff1844b2fce9ad%2Fimage%20(9)%20(1).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-8273ff474231386d06b3e9d78b44a0fa76a56f81%2Fimage%20(10)%20(1).png?alt=media" alt=""><figcaption></figcaption></figure>

* **Record ID or External ID:** Used to specify the Salesforce record ID or the external ID corresponding to the Salesforce record.
* **Record ID of parent object:** Used to specify the Salesforce record ID of the parent record.
* **Height:** Used to specify the component's height. The default height is **700 (px)**.
* **Component ID:** Used to specify the Component ID which can be any common text between the **SharinPix Chatter** component and the corresponding **SharinPix Album** component. The ID allows communication between matching components. **Please note that this field should be filled in order to use the SharinPix Chatter component.**
* **Chatter feeds for viewed images:** Used to enable/disable the option to show chatter publisher and feed for the viewed image.
* **Chatter feeds for selected annotations:** Used to enable/disable the option to show chatter publisher and feed for the selected annotation.

## Demo

The example below shows a Chatter post corresponding to the image selected from the album:

![](https://2221230591-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5EvYRrLbUyvRh8o1jmMG%2Fuploads%2Fgit-blob-d7be3ad646f68139bc3a48dd2a08535e400f2f56%2Fscreenshot-spx-fsl-summer20-dev-ed.lightning.force.com-2020.08.12-17_30_05_\(1\)%20\(1\)%20\(1\).png?alt=media)

{% hint style="success" %}
**Tip:**<br>

Below are some useful links relating to the SharinPix Chatter component that you may refer to:

* [Using the Chatter](https://docs.sharinpix.com/documentation/chatter-feed/use-the-pre-build-sharinpix-album-with-chatter-feed#using-the-chatter)
* [Use SharinPix with Chatter component on specific images or annotations](https://docs.sharinpix.com/documentation/chatter-feed/sharinpix-chatter-feed-for-image-and-annotation-how-it-works-what-to-expect)
  {% endhint %}
