Inserting Images Into Posts and Pages: Codex Tools
Inserting Images Into Posts and Pages: Codex Tools
Interested in functions, hooks, classes, or methods? Check out the new WordPress
Code Reference!
Inserting Images into Posts and Pages
Contents
1 Overview
2 Step 1 Placing your cursor
3 Step 2 Click the Add Media button
4 Step 3 Add or Select Your Image
5 Step 4 Attachment Details
6 Step 5 Attachment Display Settings
6.1 Image Alignment
6.2 Image Link
6.3 Image Size
7 Step 5 Inserting the image
8 Resources
Overview
When creating or editing a Word Press page or blog post, you can easily add images at any
time using the Word Press Media Up loader tool. Heres how to add an image, step-by-step,
using the media up loader:
Tip: Its 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. Thats 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.
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.
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 Edit
Image page, or to Delete Permanently to remove the image from your 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
Top row: Left and Right alignments. Bottom row: Centre and "None" alignments
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 Word Press 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
Word Press 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.
You can visit the Settings>Media section of your Word Press dashboard to customize the
above image sizes.
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
Embeds - Inserting different medias.
Photoblogs and Galleries - Using WordPress as photoalbum, photoblog etc
Categories:
Design and Layout
WordPress Lessons
Home Page
WordPress Lessons
Getting Started
Working with WordPress
Design and Layout
Advanced Topics
Troubleshooting
Developer Docs
About WordPress
Codex Resources
Community portal
Current events
Recent changes
Random page
Help
1. Insert separator characters such as commas or tabs to indicate where you want to divide
the text into columns. Use paragraph marks to indicate where you want to begin a new row.
For example, in a list with two words on a line, insert a comma or a tab after the first word to
create a two-column table.
4. In the Convert Text to Table dialog box, under Separate text at, click the option for the
separator character that is in your text.
5. In the Number of columns box, check the number of columns.
If you don't see the number of columns that you expect, you may be missing a separator
character in one or more lines of text.
Top of Page