> For the complete documentation index, see [llms.txt](https://docs.ultramarinastudios.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ultramarinastudios.com/sections/before-after-image.md).

# Before/after image

<figure><img src="/files/AWm9iUl2cbmthVmOcJBt" alt="Before/after slider showing a close-up of a model&#x27;s skin with blemishes on the left and glowing skin on the right"><figcaption><p>Before/after image on Primavera theme</p></figcaption></figure>

### Settings

* **Label style**: For the "Before" and "After" labels, choose between **primary**, **secondary** or **text** (similar to button styles)
* **Label position:** Choose between **top** or **bottom**

### Blocks

This section comes pre-loaded with four types of blocks:

* [Section header](/blocks/section-blocks/section-header.md) (hidden by default, fill in the settings to display)
* **Before**
  * **Image**: Upload the image that corresponds to the before image
  * **Label**: e.g. Before
* **After**
  * **Image**: Upload the image that corresponds to the after image
  * **Label**: e.g. After
* [Buttons](/blocks/buttons.md) (hidden by default, fill in the settings to display)

{% hint style="info" %}
Can't find the setting you're looking for?  The following settings are explained in detail in [common settings](/common-settings.md):

* Container type
* Color scheme/Color scheme transition
* Padding
  {% 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:

```
GET https://docs.ultramarinastudios.com/sections/before-after-image.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.
