Display SharePoint Asset Library Images in a Gallery
Question details
Display images stored in a SharePoint Asset Library or Site Assets library as a browsable gallery on a modern SharePoint page.

- Product
- Microsoft SharePoint
- Device & OS
- not provided
- Scenario
- A user wants visitors to browse PNG, JPG, and SVG files and access their file or CDN URLs.
- Observed behavior
- The desired page displays library images in a grid or thumbnail layout and lets visitors access the files.
Confirm that you can edit the modern SharePoint page and access the library containing the images. Check that the intended visitors have permission to view the files.
Add the asset library with the Document Library web part
Use this approach to let visitors browse library files directly from a modern SharePoint page without custom CSS.
Open the Asset Library or Site Assets library and use the view selector to choose a tiles or thumbnail view, if available. Save the view if you need to use it on the page.
Open the modern SharePoint page and select Edit. Select the plus button where you want the gallery to appear.
Search for and select the Document Library web part, then choose the Asset Library or Site Assets library.
Select the web part's Edit properties button and choose the saved view, if the view selector is available. Check the page preview to see how the files appear.
Select Republish or Publish, then open the page and select an image to verify that visitors can access it.

Create image-rich documents with WPS Office
WPS Office is a free, lightweight alternative with a familiar interface for working with Office files. Its format compatibility makes moving existing documents easier, although it does not configure SharePoint galleries or CDN URLs.

Frequently Asked Questions
Can I display Site Assets files on a modern SharePoint page?
Yes. Edit the page, add the Document Library web part, and select Site Assets. Choose a suitable library view in the web part properties if one is available.
Why are my images not showing as thumbnails?
Check the library's view selector and choose a tiles or thumbnail view if available. Thumbnail rendering can also vary by file type, so test PNG, JPG, and SVG files in the selected view.
How do I get a link to an image in the library?
Open the library, select the image, and use Copy link or the file's sharing options. Check the link settings and permissions before sharing it.
Does the Document Library web part create CDN URLs?
No. The web part displays library content; a CDN URL depends on a configured CDN and the published asset address. A copied SharePoint link may not be a CDN URL.




