> For the complete documentation index, see [llms.txt](https://help.doctorlogic.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.doctorlogic.com/docs/agency-permissions/adding-a-masthead-image-to-procedure-pages.md).

# Adding a Masthead Image to Procedure Pages

{% hint style="warning" %}
Have the masthead image ready and make sure the file name matches mediaId field for the image (so you remember it's a masthead image). Images can be in .png or .jpg format. We recommend an image file 2000 pixels wide and 1500 pixels tall.
{% endhint %}

Use the instructions below to add a masthead image to a procedure page.

1. On the Employee Admin page, click on **Pages** and select **Procedure**.
2. Click the yellow pencil icon to edit the procedure page where you'd like to add the image.\
   ![](https://2741824567-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LAUTtHOF4cY8fyDoNkF%2Fuploads%2FVENSd9G8qzDFXpObKDEj%2Fimage.png?alt=media\&token=3e0770ec-d2be-47af-b760-75da4d4f7b50)
3. Add the images to the following two places:
   1. To add an image to the services list page:
      1. Click **Media** from the navigation panel on the left.
      2. Click **Drop files here to upload**.
      3. Select the image you'd like to use and click **Open**.
      4. Add a label to the image to make it easily identifiable when you select it as the masthead image. For example, if it's a rhinoplasty page, you can name it MH\_Rhinoplasty.
   2. To add an image to the top of the procedure page:
      1. Click **Components** and select **Masthead**.
      2. Click **+Create New Masthead**.
      3. Fill in all the information about the masthead image:
         1. **Web Page** - Start typing to find the specific page you'd like to add the image to. Include "Procedure" in the search to quickly filter and see only pages with the word "Procedure" in the name.
         2. **MediaId** - This defaults to no image. Select the image you'd like to use. The file name of the image should match the label you implemented in the previous step.
         3. **Label** - Add a label. Make sure it matches the file name for the image used in the MediaId field.
      4. Click **Create**.

That's it! You can refresh the screen to see your updated image on the site.


---

# 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://help.doctorlogic.com/docs/agency-permissions/adding-a-masthead-image-to-procedure-pages.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.
