> For the complete documentation index, see [llms.txt](https://docs.sonoransoftware.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sonoransoftware.com/cms/tutorials/community-website/gallery-system.md).

# Image Gallery

{% embed url="<https://www.youtube.com/watch?v=i5B6mktn4wY>" %}

The Sonoran CMS Gallery System is a custom page element allowing you to create and organize your gallery(s) to fit the needs of your community. Easily add Gallery Categories to any custom page, create or use existing categories across multiple pages. Each category has the ability to manage permissions to **Upload**, with more coming soon.

### Creating Gallery Categories & Adding Gallery Elements

To create a Gallery Category navigate to the Website Builder located at `Administrative Panel` > `Website Builder`. Once you've located the editor, add a **Gallery** section to your custom page.

Now that you added a Gallery section you can select from existing Gallery Categories or create a new one. If you're looking to create a category, simply click the green **CREATE** button. This will display a popup with various inputs, fill in the category label and select the permission preferences that apply. Once the category fits the needs that you like click the orange outline **SAVE** button.

<figure><img src="/files/Tc7DIF9p4QE5SF0x6Mvc" alt=""><figcaption></figcaption></figure>

Once you have saved the Custom Page you can now view the page with the Gallery element added.

### Creating a Gallery Post

To create a gallery post simply click "Upload New Photo" and this will display a gallery post creation dialog. Fill in the appropriate information for the post you're wanting to create. Once the post information suffices your needs simply click the green **SUBMIT** button to create the post. Once it's created it'll automatically add it to the gallery view.

<figure><img src="/files/nXSvVoK8NO3vGHs0lQZd" 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 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.sonoransoftware.com/cms/tutorials/community-website/gallery-system.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.
