When you upload a picture to a picture library, SharePoint enables you to see the picture as a thumbnail and as a WebPreview (the image you see when you edit an image item). But sometimes you might want to control the size of the thumbnails and the WebPreview. I have currently not found any way to set the size of the thumbnail just using the browser, so I have been forced to go another way around it.
There are three ways to resize the thumbnails in a Picture Library.
1. Change the xml definition of the Feature for the picture library.
2. Use the object model to code a script to change the thumbnail size.
3. Use the SharePoint Manager 2007 to change the thumbnail size directly.
When you change the size in the xml definition for the Picture Library Feature, every picture library will have this setting. This is a good solution but it can be a problem if you want different sizes on different picture libraries.
The other solution is to code a little script using the object model to do the trick for you. But this demands that you know how write code for SharePoint.
The last solution is to use the SharePoint Manager 2007 to change the size directly. This is easy done, takes no time and do not require any coding skills or knowing how to change the Picture Library feature.
Set the property to size in pixels.
Change also the WebImageHeight and WebImageWidth for resizing the WebPreview.
Hit the save button on the top left corner of the SharePoint Manager 2007.
Now refresh your browser and the images should be resized.
![]()
NB! Sometimes the pictures will not resize before you hare uploaded them to the Picture library again. This may be the case for an Image Library (a picture library is a different library compared to an image library).
Related Posts:
>>WSPBuilder - A SharePoint Solution (WSP) creation tool
>>How to resize the thumbnails in a Picture Library
>>SharePoint Manager 2007 Update
>>How to resize the thumbnails in a Picture Library
>>How to resize the thumbnails in a Picture Library
>>SharePoint Manager 2007 Update
>>SharePoint Manager 2007 Update
>>SharePoint Manager 2007 – Restore files
>>SharePoint Manager 2007 – Restore files
>>SharePoint Manager 2007 – Restore files
>>SharePoint Manager 2007 new version
>>SharePoint Manager 2007 new version
Month Archives:
Top Tags:
social software social networking .NET mashable Sharepoint ASP.NET Web 2.0 Web2.0 Startups Community News Search Marketplace General Software Development AJAX myspace People Powered! Microsoft Visual Studio Windows Vista YouTube Silverlight Vista Events C# MOSS Featured News WPF Google MOSS 2007 Web Security Office 2007
@2007 All rights Reserved |