> 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/features/download-images/download-image-with-custom-filename-directly-from-the-sharinpix-image-record-url.md).

# Download Image with Custom Filename directly from the SharinPix Image record URL

To download an image from a SharinPix Image record (generated from Image Sync feature), you simply had to open one of the link that were auto generated. This downloaded the image with a default filename which most of the time has been derived to prevent encoding issue.

However, SharinPix offers you the flexibility to personalize the image filename to whatever you want. Here is how you can proceed to override the default filename.

First, you need to use the URL generated by SharinPix which starts with the following: [https://p.sharinpix.com/](https://p.sharinpix.com/3/e00b8d8/YXBwLnNoYXJpbnBpeC5jb20vaW1hZ2VzLzAyZWVmNTExLWNmZGMtNGY4MS1hZTZkLTk0NzZlZGI3ZjJmYi90aHVtYm5haWxzL2Z1bGwtNjY2OGMwNGI2MzQuanBn/17.jpg)

Once you know which URL to use, you need to append a query parameter **filename** at the end of the URL and then add your custom filename and it should be encoded.

Example: **?filename=twister%20game**

Below is a sample link with a custom filename which has been encoded: <https://p.sharinpix.com/3/bce0f7f/YXBwLnNoYXJpbnBpeC5jb20vaW1hZ2VzLzAyZWVmNTExLWNmZGMtNGY4MS1hZTZkLTk0NzZlZGI3ZjJmYi90aHVtYm5haWxzL3RodW1ibmFpbC05YzViMWUyNTQ5OS5qcGc/17.jpg?filename=twister%20game>

{% hint style="success" %}
Do not add the image extension to the end of the filename. Just the name is enough.
{% endhint %}

Since you are on Salesforce, you can derivate this url with custom workflows, formula fields, generate from triggers, etc...

{% hint style="info" %}
Contact the SharinPix support in case you need assistance. Email: <support@sharinpix.com>
{% endhint %}


---

# 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/documentation/features/download-images/download-image-with-custom-filename-directly-from-the-sharinpix-image-record-url.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.
