Codex tools: Log in
Image galleries are a great way to share groups of pictures on your WordPress site. The Create Gallery feature of the WordPress media uploader allows you to add a simple image gallery to pages or posts on your site.
Note: Before adding a gallery, you should be comfortable using the Add media feature and the media uploader to add images to your media library and place them into posts.
Here’s how to add an image gallery step-by-step, using the media uploader:
A gallery can go anywhere on a page or post - by itself on a blank page, or above, below, or in the midst of text. Start by placing your cursor where you want the gallery to appear - if it's in between blocks of text, like in the photo example below, consider adding a return and placing your cursor on a new line so there's space above and below.
Once you've placed your cursor where you want your image gallery to appear, click on the Add Media button (located right above the editing window) to launch the media uploader interface. In the resulting popup window, select the 'Create a Gallery' option from the list of actions on the left.
You can add or select the images you want to include in your image gallery by choosing from either of the following options in the center of the media uploader window:
Note: You can create an image gallery using any combination of new images and previously uploaded images simply by switching back and forth between the Upload Files and Media Library tabs.
As you upload and/or select images, you will see your selection confirmed on the Insert Media screen by check boxes at the top corner of each thumbnail. Also, a row of thumbnails appears at the bottom of the window to help you keep track of all the images you’ve selected. When you are happy with your selection, click the Create a new gallery button.
On the Edit Gallery page, you can do the following things before inserting the gallery you have created into your page or post:
Before inserting your gallery, you also have several Gallery Settings available in a pane on the right to control the following:
Within the visual editor, WordPress galleries are represented as a blue box with a camera icon in your text editor window. When viewed on the actual page or post, the gallery is displayed as a series of thumbnail images, which can be clicked to view the full image.
At any time, you can edit the images or settings of your gallery by clicking on the Edit Gallery button in the upper left hand corner. You can remove the image gallery at any time by clicking on the Remove Gallery button.