> For the complete documentation index, see [llms.txt](https://docs.sharinpix.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sharinpix.com/documentation/lightning-web-component/sharinpix-share-selection.md).

# SharinPix Share Selection

{% hint style="info" %}
SharinPix Share Selection Component allows you to share images that have been selected on SharinPix components, such as SharinPix Album, SharinPix Search and SharinPIx Related Search.
{% endhint %}

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

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

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

* Community Builder
* Page Builder
* Desktop
* Mobile
  {% endhint %}

## Getting Started

To use the SharinPix 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-5950dd4757ca0b135711c7767327eee41f431a7b%2Fscreenshot-sharinpix-fsl-demo-dev-ed.lightning.force.com-2022.04.29-16_48_15%20(9).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-24d019f3caa3d96d72b523fb6c1895d321aaef5c%2Fsharinpix_share%20(2).png?alt=media" alt=""><figcaption></figcaption></figure>

**Generate Token Button Label:** Used to specify the button's label. The default value is **Generate Shareable Images URL**.

{% hint style="info" %}
The button SharinPix Share Selection will only be enabled when one or more images have been selected.
{% endhint %}

## Demo

### Copy Generated Token and URL

The component provides 2 buttons **Copy Shearable URL** and **Copy Token.**

* **Copy Shearable URL** will copy the generated token with the SharinPix base URL.
* **Copy Token** will copy only the token which has been generated.

The generated token has an expiry date of **90 days** after being generated.

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

{% hint style="warning" %}
The generated token has an expiry date of **90 days** after being generated.
{% endhint %}

### Limitations

{% hint style="warning" %}
Only a maximum of 125 images can be shared.
{% endhint %}

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


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.sharinpix.com/documentation/lightning-web-component/sharinpix-share-selection.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
