# Upload Image as a Material

To create a new material from an image follow the [Add a Material](/building-blocks/materials/add-a-material.md)page and select the *From Image* option.

In the dialog drag and drop your image that you would like to use like so and type in the width and height (in cm) like so:

<figure><img src="/files/I4ioIEdlIn2TyS2o1Bqu" alt="" width="294"><figcaption></figcaption></figure>

The click on *Create*. Tis should now prepare the basis of your material and the last step to do is to click on *New material:*

<figure><img src="/files/zT1PrnpCxk24cskS4GmB" alt="" width="563"><figcaption></figcaption></figure>

and then *Save* the material, like so:

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


---

# 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://docs.colormass.com/building-blocks/materials/add-a-material/upload-image-as-a-material.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.
