# Image Sharing

For sharing an image, you need to pass the path of the image to **StoryContent** instance

```csharp
StoryContent content = new StoryContent ("PATH_TO_IMAGE_FILE", false);
```

{% hint style="info" %}
&#x20;Passing **false** to StoryContent instance indicates the file passed is an **image**
{% endhint %}

Share the StoryContent on Instagram

```csharp
InstagramKitManager.Share(content, OnShareComplete); //OnShareComplete is callback method
```

{% hint style="info" %}
Image passed can be of JPG or PNG format.
{% endhint %}

Example

{% embed url="<https://gist.github.com/voxelbusters/bfa9bbb799909f4b2ab953ce9e41ad7d#file-shareimageoninstagram-cs>" %}


---

# Agent Instructions: 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:

```
GET https://assetstore.instagramkit.voxelbusters.com/api/image-sharing.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
