> For the complete documentation index, see [llms.txt](https://overleaf-pro.ayaka.space/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://overleaf-pro.ayaka.space/latex/overleaf-learn-latex-pt/perguntas-e-respostas/31-how-do-i-insert-an-image-into-my-document.md).

# Como insiro uma imagem no meu documento?

Em primeiro lugar, para incluir uma imagem num documento no Overleaf, precisa de carregar o ficheiro de imagem do seu computador usando o botão "Upload files" no menu do projeto:

![Botão "Upload files" acima do painel da lista de ficheiros](/files/6754eba6d45d48b85f454c2ea2369487b367d125)

Depois pode incluí-los no seu documento usando o `\includegraphics` comando, como neste exemplo:

```latex
\documentclass{article}
\usepackage{graphicx}
\begin{document}
\includegraphics[width=\textwidth]{YOUR-FILE-NAME-HERE}
\end{document}
```

## Ajuda e informações adicionais

Os seguintes artigos de ajuda discutem outros aspetos da utilização de imagens com LaTeX e/ou Overleaf:

* [Inserção de imagens](/latex/overleaf-learn-latex-pt/mais-topicos/27-inserting-images.md)
* [Incluir imagens no Overleaf](/latex/overleaf-learn-latex-pt/base-de-conhecimento/088-including-images-on-overleaf.md)
* [Otimização de ficheiros de imagem muito grandes](/latex/overleaf-learn-latex-pt/base-de-conhecimento/113-optimising-very-large-image-files.md)
* [Como especifico o tamanho de uma imagem em LaTeX?](/latex/overleaf-learn-latex-pt/perguntas-e-respostas/35-how-do-i-specify-the-size-of-an-image-in-latex.md)
* [Envolver texto em torno de figuras](/latex/overleaf-learn-latex-pt/mais-topicos/50-wrapping-text-around-figures.md)
* [Posicionamento de imagens e tabelas](/latex/overleaf-learn-latex-pt/figuras-e-tabelas/02-positioning-images-and-tables.md)


---

# 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://overleaf-pro.ayaka.space/latex/overleaf-learn-latex-pt/perguntas-e-respostas/31-how-do-i-insert-an-image-into-my-document.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.
