Is there a way to force a particular display mode (detail, filmstrip, thumbnail) in a Picture Library? I'd like to force the default view to always display in filmstrip mode.
Stump the Panel » End Users and Information Workers
Force Picture Library Display
(7 posts)-
Posted 2 months ago #
-
A Thumbnails view is a default view for a SharePoint Picture Library, and SharePoint does not provide an easy way to set a Filmstrip view as a default view.
Technically, the All Pictures view is a default view for a Picture Library, and both Thumbnails and Filmstrip are kind of subviews inside the All Picture view. If you examine the behavior of these subviews closely, you will soon find that the subviews are handled from a client side using a JavaScript, javascript:SwitchViewStyle(’filmstrip’) and javascript:SwitchViewStyle(’thumnail’).With these findings, I will describe the steps how to make a Filmstrip a default view of a Picture Library.
Please perform the following steps to make the Filmstrip a default view of a Picture Library:
Click Site Actions -> Edit Page.
Click Edit Page to add a webpart
Click a Add a Web Part button to launch a Add Web Parts dialog box.Find and Check a Content Editor Web Part and Click OK.
Drag the Content Editor Web Part below the Picture Library Web Part.
Click open the tool pane link on the Content Editor Web Part
On the Content Editor section, click the Source Editor… button.
Type the following javascript inside the Source Editor:<script type=”text/javascript”>
<!–
SwitchViewStyle(’filmstrip’);
//–>
</script>Click Save to close the Source Editor.
On the Appearance section of the tool pane, set the Chrome Type to None.
Click OK to close the tool pane of the Content.
Click Exit Edit Mode link right below the Site Actions.That's it! Filmstrip is now set to a default view.
Posted 2 months ago # -
Thanks so much! (I don't know why my googling didn't pick up your blog entry, but this is exactly what I need.)
Posted 2 months ago # -
Dan - Very nice resource link. I'm going to check and see if Jason would like to expand on that article at EndUserSharePoint.com. Thanks for the link. -- Mark
Posted 2 months ago # -
There's also the "This Week in Pictures" OOB web part that you might want to use. It displays the most recently added photo in the library, with it's description, and a button that says "view slide show". Pretty little interface.
Laura Rogers
http://spinsiders.com/laurarPosted 2 months ago # -
Unfortunately this isn't working for me. Is it possible this doesn't work under Vista? This seems to be one of those things that blurs the boundaries between IE and Windows Explorer, which is why I think Vista might be the issue.
Posted 2 months ago # -
Drag and drop the content Editor webpart at the bottom of the page.
Hope this should work?
Thanks
Justin Jacob
Posted 3 weeks ago #
Reply
You must log in to post.