Add a picture or image file to a SharePoint page
Applies ToSharePoint Server 2016 SharePoint Server 2013 SharePoint Server 2013 Enterprise SharePoint in Microsoft 365 SharePoint Server 2010

Images are expected on a SharePoint page and can often show details that otherwise would take, well, a thousand words. You can add images from your local computer, SharePoint media libraries, or links from other locations on your site or the web.

Add an image to a SharePoint page

  1. If you're not in edit mode already, click Edit at the top right of the page.

  2. Hover your mouse above or below an existing web part or under the title region, click Circled plus sign used to add a modern web part to a page, and then select the Image web part.

  3. Choose a recent image or an image from one of the following:

    • Stock images provided by Microsoft

    • A web search

    • A site

    • Your computer

    • A link

    • If your organization has specified a set of approved images, you'll be able to choose from that set under Your organization.

      Image of file picker options.

      Notes: 

      • Web search uses Bing images that utilize the Creative Common license. You are responsible for reviewing licensing for an image before you insert it on your page.

      • If you're a SharePoint Admin and want to learn how to create an asset library for Your organization, see Create an organization assets library.

      • If you're a SharePoint admin, we recommend enabling a Content Delivery Network (CDN) to improve performance for getting images. Learn more about CDNs.

  4. Click Open or Add image (depending on where your image is coming from).

  5. Optionally, type a caption under the image in the web part.

  6. Click Edit web part Web part edit button (on the left) to change the image, add a link to the image, add text over the image, and to add or change alternative text (for people who use screen readers).

    Image web part toolbox

    Automatic alternative text When you insert an image, alternative text (for people with screen readers) is automatically generated. In many cases, the text is automatically saved with your image, unless you change or remove it. In cases where the confidence level of the alternative text for the image is not high, you'll see an alert on the image that allows you to review and change or keep the alternative text.

    Image with alternative text prompt

Note: It's a good idea to size your image before uploading to make sure it fits the space the way you want it to. Keeping images in an asset or picture library will let you store multiple sizes if you need them. Learn more image sizing and scaling in SharePoint modern pages.

Add an image to a SharePoint 2016, 2013, or 2010 site

  1. Go to the page where you want to add an image.

  2. Select the Page tab. Then, on the ribbon, click Edit.

  3. Click inside an editable area on the page.

  4. Choose the Insert tab, and in the Media group on the ribbon, click Picture.

    The Insert Picture button with the source options menu below it.

  5. You'll see the following options:

To upload a file from your computer, follow these steps.

  1. Click From Computer.

  2. Browse to the location of the file that you want, select the file and then click Open.

  3. Specify a destination library where you want to store the file. We recommend that you specify an Asset Library as the destination. To learn how to set up an Asset Library for image files, see Set up an Asset library to store image, audio, or video files.

  4. Click OK.

Top of Page

To add an image from another location on the web, follow these steps.

  1. Click From Address.

  2. Type the URL for the file that you want to use, and then click OK. The URL must point directly to an image file. For example: http://contoso.com/images/selfieImage1.jpg.

To add an image from a location on a SharePoint site, follow these steps.

  1. Click From SharePoint. This opens the Asset Picker, which you can browse for the folder or library that you want.

  2. Browse to a location on your site, such as an Assets Library, where images, video and audio files are saved.

  3. Select the file that you want, and then click Insert.

Top of Page

When you add images to a SharePoint page, you can customize it to better fit the page or stand out more. For example, you can change its size or location, edit the Alt text, or create a border.

To change properties on an image on a page, follow these steps:

  1. Go to the page that contains the image.

  2. Select the Page tab, and then click Edit.

  3. Click anywhere on the image to open the Image tab and its ribbon.

    Media tab on edit ribbon

  4. On the Image tab, in the Select group, click Change Picture to change to a different picture. and select the image file that you want.

  5. In the Properties group, you can enter or change the Alt text or Address of the image.

  6. In the Styles group on the ribbon, point to Image Styles and then select the border style for the picture.

    Image editing options
  7. In the Arrange group, click Position to change the position that the image takes in the space. In the drop down, you can pick a floating position as either left or right, or an inline position of top, middle, or bottom in relation to other objects.

  8. In the Size group on the ribbon, you can resize the image. If you leave the Lock Aspect Ratio checked, then the Horizontal and Vertical sizes are linked. When you change one, the other will change to a proportionate size as well.

    If you uncheck Lock Aspect Ratio, your image's horizontal and vertical sizes can be changed independently, though your image may become distorted.

  9. When you finish making changes to the page, select the Page tab, and then click Save. If the page is checked out to you, you see a warning message together with a link so you can check it in.

Add a web link to a picture

Having a picture on a page is good, but making it a doorway to another page is even better. Here's how to make an image a live link.

  1. Navigate to the page with the image you want to add a hyperlink to.

  2. Click the Page tab, and then click Edit.

  3. Click and select the photo or picture you want to an link to.

  4. On the ribbon, click Insert, and then click Link.

    Insert link using web address
  5. In the Add Hyperlink dialog, type in the Address to the webpage, site, or other media you want to link to. You can test the link by clicking Try out.

    Hyperlink dialog with web address and OK button highlighted
  6. Click OK.

Delete a picture from a page

  1. From a page, in the ribbon, click the Page tab, and then click the Edit command.

    Page tab with Edit button highlighted

    Note: If the Edit command is disabled, you may not have permission to edit the page.

  2. Select the image you want to delete and press the Delete key on your keyboard.

Top of Page

Add images to SharePoint 2007 pages

You can add an image to any Web page that has a Page Image field control by picking the image from a library. When the image that is stored in the library is changed, pages that use the image automatically use the new image.

You can also add an image to any Web page that has a Page Content field control, by using the HTML Editor. When you use the HTML Editor to add an image to a Page Content field control, the image is also stored in a library, so that when the image in the library is updated, pages that use the image automatically use the new image.

When you create a new page, if you want the page to have an image, you can create the page by using a page layout that has a Page Image field control.

Page layouts that contain a Page Image field control

The following page layouts that are included with Microsoft Office SharePoint Server 2007 contain a Page Image field control:

  • Article page with image on left

  • Article page with image on right

  • Intranet Home

  • Welcome page with summary links

  • Welcome page with table of contents

  • Welcome splash page

Your site may contain additional page layouts that contain a Page Image field control.

Tip: One way that you may be able to tell whether a page has a Page Image field control is to edit the page. When you edit a page, each field control on that page displays a label. Page Image field controls on pages created by using page layouts that are included with Office SharePoint Server 2007 are labeled Page Image. This may or may not be the case for pages created by using custom page layouts that are designed by someone with Design permissions for your site. Ask your site collection administrator for more information about the custom page layouts that are available for use on your site.

Top of Page

Page layouts that contain a Page Content field control

The following page layouts that are included with Office SharePoint Server 2007 contain a Page Content field control:

  • Intranet Home

  • Welcome page with summary links

  • Welcome page with table of contents

Your site may contain additional page layouts that contain a Page Content field control.

Tip: One way that you may be able to tell whether a page has a Page Content field control is to edit the page. When you edit a page, each field control on that page displays a label. Page Content field controls on pages created by using page layouts that are included with Office SharePoint Server 2007 are labeled "Page Content". This may or may not be the case for pages created by using custom page layouts that are designed by someone with Design permissions for your site. Ask your site collection administrator for more information about the custom page layouts that are available for use on your site.

Top of Page

Add an image by using the Page Image field control

  1. Browse to the page to which you want to add an image, and then click Edit Page on the Page Editing toolbar.

    Note: If you do not see the Page Editing toolbar, on the Site Actions menu, click Show Page Editing Toolbar.

  2. In the Page Image field control, click Edit Picture. The Edit Image Properties Web Page dialog box opens.

  3. In the General section of the Edit Image Properties Web Page dialog box, click the Browse button located next to the Selected Image box. The Images library opens in a new window.

  4. Click the image that you want to use, and then click OK. The Image library closes, and the address of the image that you selected now appears in the Selected Image box.

  5. You can optionally set the remaining image properties:

    • Alternate Text      Type text that briefly describes the image. This text is displayed instead of the image if the page viewer's browser does not display the image. Alternate text is also read by screen readers.

    • Hyperlink      The image can optionally act as a hyperlink. Type the desired hyperlink target in this box. You can also use the Browse button to locate a target for the hyperlink. Select the Open This Link In New Window check box if you want the hyperlink to open in a new browser window.

      In the Layout section, you can set these properties:

    • Alignment      You can change the position of the image within the field control by choosing from the Alignment list. Since a Page Image field control is sized to fit the image, this option does not have a noticeable effect when used on an image that is in a Page Image field control.

    • Border Thickness      You can give the image a border by specifying the thickness of the border. Border thickness is measured in pixels.

    • Horizontal Spacing      You can add spacing on both sides of the image by specifying a value, in pixels, for the size of the space.

    • Vertical Spacing      You can add spacing above and below the image by specifying a value, in pixels, for the size of the space.

      In the Size section, you can set these properties:

    • Use default image size      Select this option if you want the image to appear in its default size, which is the size specified by the image file's properties.

    • Specify Size      Select this option if you want to specify the size of the image on the published page. This overrides the image file's size properties. If you select this option, you must set the width, the height, or both for the image by using the Width and Height properties.

    • Width (pixels)      If you select Specify Size, you use Width (pixels) to specify the width of the image in pixels.

    • Height (pixels)      If you select Specify Size, you use Height (pixels) to specify the height of the image in pixels.

    • Maintain aspect ratio      You can use this option to preserve the ratio of the image's width and height. If you select this option, you can only set either the width or the height of the image, because the value that you choose for the image's width or height determines the value of the other dimension based on the ratio of the original image width and height.

Top of Page

Add an image to a Page Content field control by using the HTML Editor

  1. Browse to the page to which you want to add an image, and then click Edit Page on the Page Editing toolbar.

    Note: If you do not see the Page Editing toolbar, on the Site Actions menu, click Show Page Editing Toolbar.

  2. In the Page Content field control, click Edit Content to start the HTML Editor. The HTML Editor may appear inline, or it may appear in a Web Page dialog box, in a new window.

  3. Position the cursor in the Page Content field control in the spot where you want to add the image.

  4. On the HTML Editor toolbar, click the Insert Image Button image toolbar button.

    Keyboard shortcut  To insert an image, press CTRL+SHIFT+G.

    The Edit Image Properties Web page dialog box opens.

  5. In the General section of the Edit Image Properties Web Page dialog box, click the Browse button located next to the Selected Image box. The Images library opens in a new window.

  6. Click the image that you want to use, and then click OK. The Image library closes, and the address of the image that you selected now appears in the Selected Image box.

  7. You can optionally set the remaining image properties:

    • Alternate Text      Type text that briefly describes the image. This text is displayed instead of the image if the page viewer's browser does not display the image. Alternate text is also read by screen readers.

    • Hyperlink      The image can optionally act as a hyperlink. Type the desired hyperlink target in this box. You can also use the Browse button to locate a target for the hyperlink. Select the Open This Link In New Window check box if you want the hyperlink to open in a new browser window.

      In the Layout section, you can set these properties:

    • Alignment      You can change the position of the image within the field control by choosing from the Alignment list.

    • Border Thickness      You can give the image a border by specifying the thickness of the border. Border thickness is measured in pixels.

    • Horizontal Spacing      You can add spacing on both sides of the image by specifying a value, in pixels, for the size of the space.

    • Vertical Spacing      You can add spacing above and below the image by specifying a value, in pixels, for the size of the space.

      In the Size section, you can set these properties:

    • Use default image size      Select this option if you want the image to appear in its default size, which is the size specified by the image file's properties.

    • Specify Size      Select this option if you want to specify the size of the image on the published page. This overrides the image file's size properties. If you select this option, you must set the width, the height, or both for the image by using the Width and Height properties.

    • Width (pixels)      If you select Specify Size, you use Width (pixels) to specify the width of the image in pixels.

    • Height (pixels)      If you select Specify Size, you use Height (pixels) to specify the height of the image in pixels.

    • Maintain aspect ratio      You can use this option to preserve the ratio of the image's width and height. If you select this option, you can only set either the width or the height of the image, because the value that you choose for the image's width or height determines the value of the other dimension, based on the ratio of the original image width and height.

      Notes: 

      • If the page to which you want to add an image is a Web Part Page, you can add an image by using an Image Web Part. For more information on using an Image Web Part, see the article Image Web Part.

      • If the image that you want to add to a page is not available in the Image library, you can add it if you have Contribute permissions. For more information on adding an image file to a library, see the article Add one or more files to a library.

Top of Page

Leave us a comment

Was this article helpful? If so, please let us know at the bottom of this page. Let us know what was confusing or missing. If you got here from a search and it wasn't the information you wanted, let us know what you searched for. Please include your version of SharePoint, OS, and browser. We'll use your feedback to double-check the steps and update this article.

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.