Generate thumbnails automatically in SharePoint


If you need to insert a thumbnail into your content, use the following url as the image source:

http://servername/_layouts/AssetUploader.aspx?Size=Medium&ImageUrl=/TestSite/Pictures/TechnicalLead.jpg

The ‘Size’ parameter can be set to Small or Medium, and the ‘ImageUrl’ parameter is the location of the image that you wish to generate the thumbnail from. This image must be located within the site collection. If the url to your full size image was http://servername/sitename/listname/filename.jpg, the value to pass here would be /sitename/listname/filename.jpg.

I’ve found this comes in handy when creating announcements with links to screenshots or photos, where you require an image to be dynamically resized to a thumbnail.

About these ads

6 thoughts on “Generate thumbnails automatically in SharePoint

  1. Are the thumbnails cached somewhere? In Picture Libraries thumbnails get put in the _t and _w folders – but I’m not sure about AssetUploader generated ones.

  2. Pingback: Automatic Thumbnail generation in SharePoint » novolocus.com

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s