Title: 投稿や固定ページへの画像の挿入
Author: Dion Hulse
Published: 2018年11月6日
Last modified: 2025年5月3日

---

## カテゴリー

 * [はじめに](https://ja.wordpress.org/support/category/getting-started/)
 * [インストール](https://ja.wordpress.org/support/category/installation/)
 * [基本的な使い方](https://ja.wordpress.org/support/category/basic-usage/)
 * [基本的な管理](https://ja.wordpress.org/support/category/basic-administration/)
 * [カスタマイズ](https://ja.wordpress.org/support/category/customizing/)
 * [メンテナンス](https://ja.wordpress.org/support/category/maintenance/)
 * [セキュリティ](https://ja.wordpress.org/support/category/security/)
 * [高度なトピック](https://ja.wordpress.org/support/category/advanced-topics/)
 * [トラブルシューティング](https://ja.wordpress.org/support/category/troubleshooting/)

## 翻訳・改善にご協力ください

 ドキュメンテーションを現在[英語版](https://wordpress.org/support/)から翻訳中です。
どなたでも[ご協力いただけます](https://ja.wordpress.org/team/2019/08/06/359/)。

 誤字や間違った情報にお気づきの方は、各記事の下にあるフィードバックセクションから
お知らせください。

# 投稿や固定ページへの画像の挿入

注意: このページではクラシックエディターを使用します。ブロックエディターユーザー
は[こちらのページ](https://ja.wordpress.org/support/article/inserting-images-into-posts-and-pages-b/)
を参照してください。

### 概要

When creating or editing a WordPress page or blog post, you can easily add images
at any time using the WordPress Media Uploader tool. Here’s how to add an image,
step-by-step, using the media uploader:

### Step 1 – Placing your cursor

[⌊Cursor at beginning of a paragraph⌉⌊Cursor at beginning of a paragraph⌉[

Placing cursor where the image should appear

In order to add an image to your page or post, you must first insert your cursor
in the place in the text where you want the image to appear. By placing your cursor
within your text, you can add images inline with your content. You can also place
your cursor on a blank line if you want the image to appear by itself instead.
  
_Tip: It’s a good idea to **place your cursor on the left margin of your text**,
even if you want the image to appear on the right. That’s because there is a special
setting called Alignment that allows you to control whether the image appears on
the right or the left side of the text. It even controls how text flows around the
image automatically._

### Step 2 – Click the Add Media button

Once you’ve placed your cursor on the line where you want your image to appear, 
click on the Add Media button to launch the media uploader interface, and then select
the Insert Media option from the list of actions in the left side of the media uploader
window.

[⌊Add Media button circled⌉⌊Add Media button circled⌉[

“Add Media” button above editor

### Step 3 – Add or Select Your Image

You can add or select the image you want to add to your page or post by choosing
from either of the following options in the center of the media uploader window:

 * **Upload Files:** Upload the image you want to use from your computer by dragging
   it into the upload area.
 * **Media Library:** Select from any previously uploaded images in the media library
   by clicking on the one you wish to add to your page or post.

[[

Once you have selected or uploaded the image you want to add, You will see a checkbox
next to the thumbnail confirming your selection, and see information about it displayed
in the Attachment Details pane on the right hand side of the media uploader interface.

### Step 4 – Attachment Details

[⌊Attachment details pane with: title, caption, alt text, and description⌉⌊Attachment
details pane with: title, caption, alt text, and description⌉[

Attachment details

The **Attachment Details** pane displays a small un-cropped thumbnail of the image,
as well as important information such as the filename, date uploaded, and image 
dimensions in pixels.

There are also action links that allow you to **Edit Image**, which takes you to
the page, or to **Delete Permanently** to remove the image from your site.

In addition, you can edit the following media information:

 * **Title:** The title of this media.
 * **Caption:** The caption for this image. The text you enter here will be displayed
   below the image.
 * **Alternate Text:** Enter the Alt text for the image, e.g. “The Mona Lisa” to
   describe the media.
 * **Description:** A description for this particular media.

For more information on these media settings, see the [Edit Media](https://codex.wordpress.org/Edit_Media)
page.

### Step 5 – Attachment Display Settings

[⌊Attachment display settings: alignment, link to, and size⌉⌊Attachment display 
settings: alignment, link to, and size⌉[

Attachment display settings

The **Attachment Display Settings** pane controls how the image is displayed when
viewed on the site.

You have options to set how you would like the image aligned on the page (in relation
to the text and margins) and what the link behavior of the image will be, In addition
you can set what size image you would like to display on your page.

#### Image Alignment

The **Alignment** setting allows you to determine where you would like the image
to appear in your content area and how it interacts with any text on the page. You
have the following image alignment options to choose from:

 * **Left:** Aligns the image on the left hand margin, and any text that is on the
   page wraps (or flows) around the image to the available space on the right.
 * **Right:** Aligns the image on the right hand margin, and any text that is on
   the page wraps (or flows) around the image to the available space on the left.
 * **Center:** Aligns the image to the center of the page, with no text displayed
   around it.
 * **None:** Inserts the image in to the page with no alignment

[⌊Different image alignments⌉⌊Different image alignments⌉[

Aligning images using editor controls

#### Image Link

The Link To settings determine the URL/web address to which the image will be linked
when clicked on by a visitor to your site. You can specify the following image link
settings:

 * **Attachment Page:** Links your inserted image to its WordPress media attachment
   page.
 * **Media File:** Links your inserted image directly to the original, full-size
   version of the file.
 * **Custom URL:** Allows you to set a custom link URL for your inserted image to
   link to when clicked.
 * **None:** This setting will remove the link completely, rendering the image “
   un-clickable”.

#### Image Size

The Size settings determine the size of the image you are adding to your site. By
default WordPress creates a range of four image size for you to choose from:

 * **Thumbnail:** Displays a small thumbnail-sized version of your image on the 
   page/post. Note, by default the Thumbnail size is a square, so some cropping 
   of your original image may occur.
 * **Medium:** Displays a medium-sized version of your image on the page/post. This
   is a good size to use with Left/Right alignments, as it leaves sufficient space
   for legible text to either side.
 * **Large**: Displays a large-sized version of your image on the page/post. Note:
   WordPress will determine the width of the content column of your theme, and display
   the largest possible image for that space.
 * **Full Size:** Displays a full-sized version of your image on the page/post. 
   Note: WordPress will determine the width of the content column of your theme,
   and display the largest possible image for that space. If your original image
   is larger than this column width, the full size of the image may not be displayed.

[⌊Different image sizes⌉⌊Different image sizes⌉[

Different image sizes

You can visit the **[Settings>Media](https://ja.wordpress.org/support/article/settings-media-screen/?output_format=md)**
section of your WordPress dashboard to customize the above image sizes.

### Step 5 – Inserting the image

[⌊Selecting the edit image option whenever hovering over an image⌉⌊Selecting the
edit image option whenever hovering over an image⌉[

Edit image option

Once you have determined your image settings, click on the blue Insert into post
or Insert into the page button, to add the image to your page or post. After the
image uploader window closes, you will see the image in the text editor window, 
including a preview of the alignment of the image, if you have specified an image
alignment.

At any time, you can edit the image settings by clicking on the **Edit Image** button
in the upper left hand corner. You can remove the image from your page/post by clicking
on the **Remove Image** button.

### Resources

 * [Using Image and File Attachments](https://codex.wordpress.org/Using Image and File Attachments)
 * [Embeds](https://ja.wordpress.org/support/article/embeds/?output_format=md) –
   Inserting different medias.
 * [Gallery](https://ja.wordpress.org/support/article/the-wordpress-gallery/?output_format=md)–
   Inserting a simple image gallery to pages or posts on your site [](https://codex.wordpress.org/Photoblogs and Galleries)

[原文](https://wordpress.org/documentation/article/inserting-images-into-posts-and-pages-classic/)

## この記事は役に立ちましたか ? どうすればさらに改善できますか ?

フィードバックを送信するには[ログイン](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fja.wordpress.org%2Fsupport%2Farticle%2Finserting-images-into-posts-and-pages%2F&locale=ja)
する必要があります。