> 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/ja/narejjibsu/088-including-images-on-overleaf.md).

# Overleafで画像を挿入する

Overleafで文書を編集する際、画像を簡単に挿入できます。この記事では、コンピュータまたはURLからプロジェクトに画像をアップロードする方法と、作成した文書にそれらを含める方法を説明します。

## 簡単な画像アップロード

|                                                                                                                  |                                                                        |
| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------- |
| 画像をアップロードするには、エディタの左上隅に移動してアップロードアイコンをクリックします ![Uploadicon.png](/files/8c92826c524d3e7fb142c39fe1f45dcdb64af0a7) | ![V2uploadbutton.png](/files/bc84d480021e4b831fdc40b2c49b9fbbc2dfe9af) |

|                                  |                                                                          |
| -------------------------------- | ------------------------------------------------------------------------ |
| ファイルをアップロードするためのダイアログボックスが表示されます | ![V2uploaddialogue.png](/files/578fe5b7e7a008269bab97b629401cce6fdeac0f) |

|                                                            |                                                                            |
| ---------------------------------------------------------- | -------------------------------------------------------------------------- |
| そこで、ファイルをドラッグ＆ドロップするか、クリックして ***ファイルを選択*** してファイルブラウザを開きます | ![UploadingImagesEx3.png](/files/3af018521e945d01a243593ff7693658bf551ea6) |

|                                                                                        |                                                                             |
| -------------------------------------------------------------------------------------- | --------------------------------------------------------------------------- |
| 適切なフォルダに移動して、アップロードする画像を選択します。複数のファイルを一度にアップロードできます。アップロード処理が完了すると、ファイルは左側のパネルに表示されます。 | ![UploadingImagesEx3b.png](/files/1dc23cca3f47a9c54be8ba9dd80fa7a69835dfad) |

これで、LaTeXファイル内で画像を使用できます。以下の例をご覧ください

```latex
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{graphicx}

\title{画像を含むプロジェクト}
\author{Overleaf}
\date{}

\begin{document}

\maketitle

\section{導入}
\begin{figure}[htp]
    \centering
    \includegraphics[width=4cm]{InsertingImagesEx5}
    \caption{銀河の画像}
    \label{fig:galaxy}
\end{figure}

\end{document}
```

![UploadingImagesEx5b.png](/files/92e799d9a5d1a25bae76127fa6888cd4e455089b)

画像のファイル名だけがパラメータとして渡されていることに注意してください `\includegraphics[width=4cm]{lion-logo}`

LaTeXでの画像操作の詳細については、 [参考資料](#further-reading) 他のドキュメントページへのリンクについては。

## フォルダへの画像アップロード

プロジェクトに複数の画像が含まれる場合、すべてを整理しておくために、別のフォルダに入れる必要があるかもしれません。

|                                                                                                                       |                                                                             |
| --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------- |
| Overleafでフォルダを作成するには、エディタの左上隅に移動してフォルダアイコンをクリックします ![Foldericon.png](/files/f4ab0f1bf2353963d4f24dd360969420405a44bd) | ![UploadingImagesEx6b.png](/files/7642ba99632e95f83d79b9988e881627e0e0acac) |

|                                    |                                                                             |
| ---------------------------------- | --------------------------------------------------------------------------- |
| 入力ボックスが表示されるので、フォルダ名を設定して ***作成*** | ![UploadingImagesEx7b.png](/files/d8bf1772c733eea810bb3e8867a13b9e309421b4) |

|                                                                       |                                                                             |
| --------------------------------------------------------------------- | --------------------------------------------------------------------------- |
| これで左側のパネルにフォルダが表示されます。すでにアップロード済みのファイルは、左側のパネル内でフォルダ間でもドラッグ＆ドロップできます。 | ![UploadingImagesEx8b.png](/files/97f877f56821ac093cad18329c77c1332349dd20) |

ファイルを直接フォルダにアップロードするには、そのフォルダをクリックしてから ***新規*** をクリックし、 [前のセクション](#simple-image-upload).

フォルダ内にいくつかのファイルができたら、それらを文書内で使用できます。以下の例をご覧ください。

```latex
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{graphicx}

\title{画像を含むプロジェクト}
\author{Overleaf}
\date{}

\graphicspath{{Images/}}

\begin{document}

\maketitle

\section{導入}
\begin{figure}[htp]
    \centering
    \includegraphics[width=4cm]{InsertingImagesEx5}
    \caption{銀河の画像}
    \label{fig:galaxy}
\end{figure}

\end{document}
```

![UploadingImagesEx5b.png](/files/92e799d9a5d1a25bae76127fa6888cd4e455089b)

コマンド `\graphicspath{ {Images/} }` は、画像が *Images*に保存されていることをLaTeXに伝えます。これで、 `\includegraphics`

LaTeXでの画像管理の詳細については、 [参考資料](#further-reading) リンクをご覧ください。

## クイックガイド

* **Overleafプロジェクトに1枚以上の画像をアップロードするためのクイックガイド：**

エディタの左上隅でアップロードアイコンをクリックし、ファイルをドラッグ＆ドロップするか、ファイルを選択してローカルディレクトリを参照できます。アップロード処理が完了したら、これらの画像を文書内で使用できます。

* **フォルダに画像をアップロードするためのクイックガイド：**

エディタで新しいフォルダを作成するには、フォルダアイコンをクリックしてフォルダ名を設定し、作成をクリックします。次に、新しく作成したフォルダをクリックし、前の段落で説明した手順に従って画像をアップロードするか、すでにアップロード済みの画像をフォルダにドラッグ＆ドロップします。

## さらに読む

LaTeXでの画像操作についてさらに詳しく知るには、

* [画像の挿入](/latex/ja/sononotopikku/27-inserting-images.md)
* [画像と表の配置](/latex/ja/to/02-positioning-images-and-tables.md)
* [表と図の一覧](/latex/ja/to/03-lists-of-tables-and-figures.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/ja/narejjibsu/088-including-images-on-overleaf.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.
