You can also drag and drop an image to a place higher or lower on the page.
| [[File:VisualEditor - Media editing 3.png|thumb|border|center|360px]]
|}
=== Editing media galleries ===
{| cellpadding="15"
<!--
|-
| To add a new gallery, click the "{{int:visualeditor-mwgalleryinspector-title}}" icon (a set of photos) on the "{{int:visualeditor-toolbar-insert}}" menu. (If you don't see this icon on that menu, then your local wiki has decided to delay implementing this functionality in VisualEditor.)
| [[File:VisualEditor - Gallery1.png|thumb|border|150px|center]]
|-
| colspan=2 | <hr /> -->
|-
| colspan=2 | <hr />
|-
| To edit an existing gallery in VisualEditor, click that gallery. Then, near the bottom of the gallery, click the gallery icon (a set of photos). This brings up the gallery editor, with the full list of images included in the gallery.
| [[File:VisualEditor - Gallery2.png|thumb|border|center|500px]]
|-
| The gallery editor has two tabs, one to add images and their captions, the other controls display options.
The order of images can be rearranged by dragging the images on the left, and can be added using the "Add new image" button at the bottom of the list. The options tab allows size and layout to be edited. The default display options are preferred in most cases.
When you click the "{{int:visualeditor-dialog-action-done}}" button, you will exit the gallery editor. You should then see your changes, with the gallery as it will now appear to readers.
Remember that exiting the gallery editor does not save your changes. As with other changes made using VisualEditor, you must 'Publish' the entire page in order to save your work and make it viewable online.
| [[File:VisualEditor - Gallery3.png|thumb|border|center|400px]]
|}