Skip to main content
< All Articles

How to store and display images in SharePoint Online

Posted on July 13, 2023
SharePoint

A long while ago, back in 2018, I wrote an article on this topic. However, that was when we had classic SharePoint. Since then, some options I mentioned in that old article have been deprecated, and we also got some new ones as well. So it was time for a refresher post on the topic. So in this article, I want to advise you of a few options for storing and displaying images in SharePoint Online.

Option 1: Document Library

The # 1 way to store images in SharePoint Online is to utilize a good-old document library. The same library you use for regular office documents. Back in 2018, when I initially wrote the post I referenced above, we actually had a separate library type called Picture Library, which was the same as a regular document library, but also had a few characteristics relevant to Images, like:

  • The ability to view image thumbnails
  • Built-in metadata, relevant to photos (image size, keywords, date the image was taken, etc.)

However, with the modernization of SharePoint over the recent years, the modern document library also got all of the above attributes.

It has a Tiles view, allowing you to display small thumbnails of the images instead of a list view.

store and display images in SharePoint

You can also manually add any metadata columns you need on the fly.

Howstoreimagesinsharepointonline2

Also, since we rely on the same library where we store other types of documents, we get the same document management features as for the other types of docs, like an ability to sync, version history, etc.

Suppose you need to display the photos stored in the document library. In that case, you can just embed a document library with images on the SharePoint page or use the Image Gallery Web Part (Option 3, which I describe below).

Howstoreimagesinsharepointonline4

Howstoreimagesinsharepointonline3

Option 2: Image Web Part

This second option is not so much about storing of documents, but rather a display of the documents. You can use the Image Web Part if you have a single image and need to display it on the SharePoint page.

  1. Edit the pageHowstoreimagesinsharepointonline5
  2. Add the Image Web PartHowstoreimagesinsharepointonline6
  3. At this point, you can republish the page, but if you wish, there are some great options settings to add: Text Overlay (if you want the text to appear over the image) and a link (in case you want users to click on the image and navigate to a different page/URL)store and display images in SharePoint
  4. You can supply text overlay and photo caption while editing the page, right on the image itself
  5. Make sure to republish the pageHowstoreimagesinsharepointonline10
  6. And this is the resultstore and display images in SharePoint

Option 3: Image Gallery Web Part

The last option to store and display images in SharePoint Online is to utilize the Image Gallery Web Part. What’s cool about this web part is that you can either upload the images right into it or extract them/feed them from the Document Library on a Site (Option 1). You can even change the style of the image presentation + how long they are displayed on the screen in case you opt for the Carousel view.

store and display images in SharePoint

store and display images in SharePoint

I explained this web part in greater detail in this separate blog post.

About Me

I’m Greg Zelfond, a U.S. based SharePoint consultant, and I provide affordable out-of-the-box SharePoint consulting, training, and configuration assistance to small and medium-sized businesses all over the world.

Need help?