![]()
Add picture library to communication site โ in modern SharePoint, we can create only two types of sites 1. Team Site and 2. Communication Site. In the modern communication or team site, we can not add all lists/libraries the way we used to add in the classic SharePoint site, because many templates are kept hidden due to some reason. In, the picture library is one among them โ so, in this article, weโll learn how to add a picture library to the communication or team site.
What is Picture Library in SharePoint Online?
A Picture Library in SharePoint Online is a specialized type of document library designed specifically for storing, organizing, and sharing images. It provides additional functionalities tailored for image files, making it easier to manage and work with pictures within your SharePoint environment.
Key Features of a Picture Library
-
Image Management:
- Thumbnails and Previews: Automatically generates thumbnails and previews for images, making it easy to browse and identify pictures.
- Metadata: Allows you to add metadata such as titles, descriptions, keywords, and custom properties to images for better organization and searchability.
-
Viewing and Display Options:
- Slideshows: Supports slideshow presentations of images directly within the library.
- Different Views: Provides various views such as thumbnail view, filmstrip view, and detailed list view to accommodate different needs.
- Image Viewer: Built-in image viewer for viewing pictures in a larger format without leaving the library.
-
Integration with Office and Other Applications:
- Office Integration: Easily insert images from the picture library into Office documents.
- Embed Images: Allows embedding images into SharePoint pages, news posts, and other web parts.
-
Sharing and Collaboration:
- Permissions: Supports granular permissions settings to control who can view, edit, or manage images.
- Sharing Links: Generate sharing links to share images with external users or other members within your organization.
- Versioning: Maintains version history for images, enabling you to track changes and revert to previous versions if needed.
-
Organization and Navigation:
- Folders and Albums: Organize images into folders and albums for better categorization and easier navigation.
- Search and Filters: Powerful search and filtering capabilities to quickly locate specific images based on metadata or other criteria.
How to Create a Picture Library
-
Navigate to Your SharePoint Site:
- Go to the SharePoint site where you want to create the picture library.
-
Create the Picture Library:
- Click on the settings gear icon in the top right corner and select โSite contentsโ.
- Click on the โNewโ button and select โAppโ.
- Search for โPicture Libraryโ and select it.
- Enter a name for your picture library and click โCreateโ.
-
Add Images:
- Once the picture library is created, you can start uploading images by clicking the โUploadโ button or dragging and dropping images into the library.
Use Cases
- Company Branding: Store and manage official branding images such as logos, marketing materials, and product photos.
- Event Photos: Organize and share photos from company events, meetings, and other activities.
- Project Documentation: Keep visual documentation of project progress, designs, and other graphical content.
Best Practices
- Organize with Metadata: Use metadata to tag and categorize images for easier search and retrieval.
- Optimize Images: Ensure images are optimized for web use to improve loading times and performance.
- Regular Maintenance: Periodically review and clean up the library to remove outdated or unused images.
The Picture Library in SharePoint Online is a robust tool for managing images, offering a range of features to help users efficiently store, organize, and share their visual content.
Add picture library to communication site โ challenge in adding picture library in SharePoint Online
Before that letโs see practically, whether can we add a picture library from the out-of-the-box SharePoint communication site?

Go to the site contents page:

Notes:
- From the above โ+ Newโ menu โ we can see a very limited template, like โ List, Page, Document library, App, and Subsite.
So, we cannot see the picture library option to create a picture library. Now, how can we create a picture library on the communication site?
The answer is, that there are three ways we can add or create a picture library in the SharePoint communication site.
- By activating site level feature โ Team Collaboration Lists
- By adding the picture content type in the library
- By the PnP provisioning template
We will see the above โ how does it work?
Activate site level feature โ Team Collaboration Lists
To activate the site-level feature โ Team Collaboration lists, we need to go to the below page:
globalsharepoint2019.sharepoint.com/sites/CommunicationSiteTest1/_layouts/15/ManageFeatures.aspx
Note:
- In the above URL, replace my site URL with your site.

Now go to the site contents -> Your Apps page.
We can see that the โPicture Librayโ template has been added under the newest tab.

Add the picture content type in the library (add picture library to communication site)
Now weโll see that now we can add a picture library template by adding the picture content type on the library setting page.
Here, I have taken the example of the default โDocumentsโ library.
Go to the advanced settings page from the below page URL:
globalsharepoint2019.sharepoint.com/sites/CommunicationSiteTest1/_layouts/15/advsetng.aspx?List=%7BBBE37E7C%2D3884%2D44D9%2DB2DB%2DF242DB1D3C2A%7D
Select โAllow management of content types?โ as yes and click on the OK button.

Click on the โAdd from existing site content typesโ link as below:

From the โAdd Content Typesโ page โ add the โPictureโ content type in the right side box then click on the OK button.

Click on the โChange new button order and default content typeโ link as below:

Change the New Button Order โ make the โDocumentโ content type invisible and make the โPosition from the topโ as 1 for the โPictureโ content type, then click on the OK button.

Create a picture library using the PnP provisioning template
Creating a picture library using the PnP provisioning template is the simplest way than the previous two approaches which does not need any feature activation or configuration. However, it needs PnP PowerShell installed on your machine.
List creation PnP Template:
โ<?xml version=โ1.0โ?>
<pnp:Provisioning xmlns:pnp=โschemas.dev.office.com/PnP/2018/07/ProvisioningSchemaโ>
<pnp:Preferences Generator=โOfficeDevPnP.Core, Version=3.7.1903.0, Culture=neutral, PublicKeyToken=5e633289e95c321aโ />
<pnp:Templates ID=โCONTAINER-TEMPLATE-C1181F206BE84C09AAAC4B3CB21FBE32โณ>
<pnp:ProvisioningTemplate ID=โTEMPLATE-C1181F206BE84C09AAAC4B3CB21FBE32โณ Version=โ1โณ Scope=โWebโ>
<pnp:Lists>
<pnp:ListInstance Title=โTestPictureLibrary29022020โณ TemplateType=โ109โณ Url=โ/TestPictureLibrary29022020โณ EnableFolderCreation=โfalseโ>
<pnp:ContentTypeBindings>
<pnp:ContentTypeBinding ContentTypeID=โ0x01โณ Default=โtrueโ />
<pnp:ContentTypeBinding ContentTypeID=โ0x0120โณ />
</pnp:ContentTypeBindings>
<pnp:Views>
<View Name=โAllItemsโ DefaultView=โTRUEโ Type=โHTMLโ DisplayName=โAll Itemsโ Level=โ1โณ BaseViewID=โ1โณ ContentTypeID=โ0xโ>
<Query>
<OrderBy>
<FieldRef Name=โIDโ />
</OrderBy>
</Query>
<ViewFields>
<FieldRef Name=โPictureTypeโ />
<FieldRef Name=โPictureTimeโ />
<FieldRef Name=โRemarksโ />
</ViewFields>
<RowLimit Paged=โTRUEโ>30</RowLimit>
</View>
</pnp:Views>
<pnp:Fields>
<Field ID=โ{1212a012-1012-4cd9-900b-411f01f2b112}โ DisplayName=โPicture Typeโ Name=โPictureTypeโ Type=โTextโ/>
<Field ID=โ{3450c003-7607-46de-8345-6c64cd2a3345}โ DisplayName=โPicture Timeโ Name=โPictureTimeโ Type=โTextโ/>
<Field ID=โ{70ef44ad-091f-4955-a957-b0fb9b42833b}โ DisplayName=โRemarksโ Name=โRemarksโ Type=โTextโ/>
</pnp:Fields>
</pnp:ListInstance>
</pnp:Lists>
</pnp:ProvisioningTemplate>
</pnp:Templates>
</pnp:Provisioning>โ
Add List/Libray to SharePoint Online using PnP Script: add picture library to communication site
CLS $userName = "Global-sharepoint2019@globalsharepoint2019.onmicrosoft.com" $passWord = "YourSPOPassword" $encPassWord = convertto-securestring -String $passWord -AsPlainText -Force $cred = new-object -typename System.Management.Automation.PSCredential -argumentlist $userName, $encPassWord Connect-PnPOnline -Url "globalsharepoint2019.sharepoint.com/sites/CommunicationSiteTest1" -Credentials $cred Apply-PnPProvisioningTemplate -Path "C:\PnP Provisioning Template\Create List\CreateListTemplate.xml" Write-host "Successfully a list has been created in SharePoint online."
Verify that Picture Libray got created using the PnP Provisioning template:

Summary: add picture library to communication site
Thus, in this article we have learned the below:
- How to create a picture library in the modern SharePoint online communication site.
- How to create a picture library in the modern SharePoint Online team site.
- How to create a picture library in the modern Sharepoint online site using the PnP Provisioning template.
- How to deal with when the Picture Libray template is missing the site modern communication site.
See Also: add picture library to communication site
- Image Map in SharePoint Online: Use ANY Image to provide Dynamic Information with Links
- Learn Image Maps in HTML and SharePoint Online step by step
- SharePoint generation or version history from the year 2000 to 2020
- Office 365: Getting started with SharePoint PnP PowerShell โ installation
- In 2 steps convert a classic SharePoint page to modern using PnP
- Office 365: Retrieve hub sites and associated sites using PnP Powershell
- Create a modern team site using PnP PowerShell in SharePoint
- In 4 steps access SharePoint online data using postman tool
- SharePoint admin center: Learn SharePoint online administration in an hour โ step by step
- SharePoint REST API: GET vs POST vs PUT vs DELETE vs PATCH
- Office 365: Understanding the hub site in SharePoint online
- Create SharePoint online list using PnP provisioning template
- List Template IDs In SharePoint Online/SharePoint 2019/2016/2013/2010/2007
- Introduction to SharePoint information architecture
About Post Author
Discover more from Global SharePoint
Subscribe to get the latest posts sent to your email.
