> 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/best-practices/display-images-from-another-salesforce-record.md).

# Display Images from another Salesforce record

When you use a SharinPix component on a page record, it give you access to SharinPix image storage corresponding to this specific record.

But sometimes you may need to have access to images stored in other(s) record(s) from another specific record.

Let's take an example of a WorkOrder.

As a desktop user you may want to see from the WorkOrder record page :

\- Images stored in the Case from which the WorkOrder was created

\- Images from different WorkOrder Line Items related to this WorkOrder

## Showing images from another single record

To show images from another record, you can use the SharinPix Album component and set the AlbumID value to the recordID of the record you want to see.

To do so, you can either develop your own SharinPix Lightning Component and pass a specific value to the parameter, or more easily if you are not a developer, you can rely on a Flow implementation to do so.

This flow can then be added to the Page record.

In our example, the result will be to display the images stored in the cases on which we have a lookup field set directly on the WorkOrder page record.

Here are the full explanation steps by steps on how to implement this : [Display another record's album on a page record using a Flow (Admin-friendly)](/documentation/cookbook/display-another-record-s-album-on-a-page-record-using-a-flow-admin-friendly.md)

## Showing images from related records

To show images from related record you have 2 different SharinPix Lightning Components that you can use.

[**SharinPix Related Search**](/documentation/lightning-web-component/sharinpix-related-search.md)

This component permits to configure in few clicks a SharinPix search on related records.

It takes a related list as a parameter and show all the images in the same Search result. Those results can be filtered on tags selection to only display some images.

In our example it can show in a tab named After Images all the images tagged as After in the WorkOrder Line Items related to a WorkOrder.\
And in a tab named Before images all the images tagged as Before.

Here you can find a full description for this component : [SharinPix Related Search](/documentation/lightning-web-component/sharinpix-related-search.md)

[**SharinPix Related Record Albums**](/documentation/lightning-web-component/sharinpix-related-record-albums.md)

This component permits to display the related list on one side using the field that you want as a label and the SharinPix Album if ever on item in the list is clicked.

In our example it can show all the WorkOrder Line Item and in one click on any WOLI display the corresponding Album to show images from that specific Work Order Line Item.

Here you can find a full description of this component : [SharinPix Related Record Albums](/documentation/lightning-web-component/sharinpix-related-record-albums.md)

![](/files/WgPpTQxkJt8BP2ILSga2)


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.sharinpix.com/best-practices/display-images-from-another-salesforce-record.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
