# Inserting images

## Inserting images

Generally there are a few steps to inserting images and figures in Overleaf:

1. Provide the image file.
2. Provide the LaTeX code for including the image in the document.
3. Provide additional code or options for treating the image as a figure that can be captioned and referenced.

## Uploading images and writing LaTeX code

You can add images or figures by uploading the required files and then writing the LaTeX code to display them.

{% content-ref url="inserting-images/uploading-images" %}
[uploading-images](https://docs.overleaf.com/writing-and-editing/inserting-images/uploading-images)
{% endcontent-ref %}

{% content-ref url="inserting-images/latex-code-for-including-images-in-your-document" %}
[latex-code-for-including-images-in-your-document](https://docs.overleaf.com/writing-and-editing/inserting-images/latex-code-for-including-images-in-your-document)
{% endcontent-ref %}

## Simpler ways to add images

You can  use the Insert Figure button, copy and paste an image, or drag and drop an image from your local device to add a figure to your document.

{% content-ref url="inserting-images/using-the-insert-figure-button" %}
[using-the-insert-figure-button](https://docs.overleaf.com/writing-and-editing/inserting-images/using-the-insert-figure-button)
{% endcontent-ref %}

{% content-ref url="inserting-images/pasting-images-into-your-project" %}
[pasting-images-into-your-project](https://docs.overleaf.com/writing-and-editing/inserting-images/pasting-images-into-your-project)
{% endcontent-ref %}
