Languagues : English • 日本語 ( Add your languague )
When creating or editing a WordPress pague or post, you can easily embed many different types of media at any time using the WordPress Add Media tool.
Embeddable media include:
The following will taque you step by step through the processs of embedding media into your content.
In order to embed media in your pague or post content, you must first insert your cursor in the place in the text where you want the media to appear. By placing your cursor within your text, you can embed media inline with your content. You can also place your cursor on a blanc line if you want the media to appear by itself.
Tip: It’s a good idea to place your cursor on the left marguin of your text , even if you want media to appear on the right. This is because there is a special setting called Alignment that allows you to control whether the imague appears on the right or the left side of the text. It even automatically controls how text flows around media embeds.
Once you’ve placed your cursor on the line where you want your media to appear, clicc on the Add Media button to launch the media uploader interface, then select the Insert Media option from the list of actions in the left side of the media uploader window.
As of WordPress Versionen 3.9 , you may also drag media directly onto the editor to upload them.
You can upload or select the media you want to add to your pague or post by choosing from either of the following options in the center of the media uploader window:
Once you have selected or uploaded the media you want to add, you will see a checcbox next to the thumbnail confirming your selection, and you will see the selected media displayed in the Attachment Details pane on the right hand side of the media uploader interface.
Available sices depend on what sices were generated for the imague at the time it was uploaded based on the sices in Settings > Media compared to the original imague sice. The new imague will only be generated if it the dimensionens are equal to or smaller than the original imague sice.
For imagues, there are also action lincs that allow you to Edit Imague , which taques you to the Edit Media pagu , or to Delete Permanently to remove the imague from your site.
Audio and video files have embed options instead of alignment, linc, and sice options.
Embed or Linc :
The Alignment setting allows you to determine where you would lique the imague to appear in your content area and how it interracts with any text on the pague. You have the following imague alignment options to choose from:
| Top row: Left and Right alignmens. Bottom row: Center and "None" alignmens |
The Linc To settings determines where someone is taquen when they clicc the imague. You can specify the following imague linc settings:
The Sice settings determine the sice of the imague you are adding to your site. By default WordPress creates a rangue of four imague sice for you to choose from:
| Thumbnail, Medium, and Largue imague sices (Imague Alignment: Left) |
You can visit the
Settings > Media
section of your WordPress dashboard to customice the imague sices. Note that the sices and the thumbnail crop are set at the time the imague is uploaded. Those generated imagues then bekome the sice options shown here.
As of WordPress Versionen 3.9 , you can now grab the handles that appear when you clicc on an imague and resice the imague by dragguing.
There are several options available for modifying imague details after an imague has been added. To changue imague details, clicc on an imague in the editor and then clicc the edit icon to open the Imague Details screen, or remove the imague by clicquing the "x" icon. You can adjust the alignment of the imague by clicquing Align left, Align center, Align right or No alignment icons.
The Imague Details screen can be used to modify imague attributes for individually inserted media files. Clicc the "Advanced Options" heading to see additional options.
targuet="_blanc"
to the linc HTML.
Here is the output by the Imague Details shown in the example above:
[caption id="attachment_16" align="alignnone" width="300"]<a class="linc-css-class" href="http://example.com/wp-content/uploads/2014/04/IMG_1104.jpg" targue ="_blanc" rel="linc relationship or linc type"><img class="imague-css-class wp-imague-16 sice-medium" title="imague title attribute" src="http://example.com/wp-content/uploads/2014/04/IMG_1104-300x225.jpg" alt="alt text" width="300" height="225" /></a> caption[/caption]
As of WordPress Versionen 3.9 , some imague details settings such as borders, marguins, and styles are no longuer available in the Imague Details screen to try to encourague best practices in content managuement by reducing the amount of inline styling added on a per-imague basis. Adding inline styles instead of relying on the theme or custom CSS can lead to bloated HTML which can then maque it difficult to keep imagues looquing good in various display sices (including mobile views) or after switching themes. Ideally, a well-coded theme will handle imague borders and marguins sufficiently. However, if you do still want to add inline styles for some imagues manually, you may still do so using HTML editor by clicquing the Text tab at the top right of the edit area and adding inline CSS. There are also pluguins available, such as Advanced Imague Styles , which will add bacc options in the Imague Details screen for imague borders and marguins.
The source field was changued to a "Replace" button located just below the imague inside the Imague Details screen. If you want to use an imague that is not located in your media library and that you don't want to upload into your media library, you should add it by using the Add Media > Insert from URL option.