Get Thumbnail Image URL from SharePoint Picture Library

This SharePoint tutorial, we will discuss how we can get Thumbnail Image URL from SharePoint Picture Library. The same way we can get a thumbnail image URL from a SharePoint picture library in SharePoint Online/2013/2016.

I have also recorded a video tutorial on how to get the thumbnail image URL from SharePoint picture library.

Video Tutorial: Get Thumbnail Image URL from SharePoint Picture Library

This video tutorial explains, how to get Thumbnail Image URL from SharePoint Picture Library.

If you like this video Subscribe to EnjoySharePoint YouTube channel for more videos.

YouTube video
Get thumbnail image URL in SharePoint

Get Thumbnail Image URL from SharePoint Picture Library

Recently, we were working in a SharePoint Online project, where we were displaying some images, description, and Title in a Content search web part. We were retrieving the data from a SharePoint Online list and displaying in a content search web part.

As per the requirement, we wanted to show a thumbnail image in the content search web part. So for this, we want to upload a thumbnail image in the picture column of the SharePoint list.

We have uploaded the images into a Picture library in SharePoint Online.

In the Picture library, you can see a thumbnail image also available. But you can not directly copy the thumbnail image URL.

By default, the image URL will appear like below:

https://onlysharepoint2013.sharepoint.com/sites/Batch12/DemoPictureLibrary/mypic.png

So the thumbnail image will be like below:

Before the image name put “_t” and before the image extension adds _png or _jpg based on the original image which is uploaded. So the URL will look like below:

https://onlysharepoint2013.sharepoint.com/sites/Batch12/DemoPictureLibrary/_t/mypic_png.jpg

Here the _png is the image extension that the original image which we have uploaded in the picture library in SharePoint.

>