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.
Lawrence,
Useful tip. Thanks for sharing
Brian
Hey,
You sure thats not something someone custom dev’d? I don’t see it in my layouts directory
Mike
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.
Pingback: Automatic Thumbnail generation in SharePoint » novolocus.com
Thank you so much!!!!
It was a great post and thanks for the information. In my case, the Image URL is going to be from Web. I mean, it will be something like (for example) http://timesofindia.indiatimes.com/thumb.cms?msid=5628302&width=300&resizemode=4. In this case, how should I specify the ImageUrl.