Skip Ribbon Commands
Skip to main content

Ben There, Done That

:

SharePoint Ben > Ben There, Done That > Posts > SharePoint (sort of) Photo Album with Slideshow
January 25
SharePoint (sort of) Photo Album with Slideshow
I was doing some work for another client this week and they wanted a Slideshow in SharePoint that would rotate through a set of pictures. SharePoint has a web part that will allow you to display a picture on a site and you can start it as a slideshow, however, it won't automatically loop through a set of pictures. To solve their problem I used this application create in SilverLight. I know, it's another browser pluggin to install. But it really is a cool Microsoft Project and can do some very cool stuff. I liked the application so much, I installed it on my blog, you can see my photo albums here. It isn't a true SharePoint web part as it just using JavaScript and SilverLight. To use it in SharePoint, all you need to do is upload all the configuration files into a document library and then put a content view web part on the site you want your photo album on and point it to the html file in your document library. You can put the photos in another library and point your Data.XML file to the picture in the document library. It works for now. My next project when I get more time is going to work with a co-worker to add to the code so that a Picture Library in SharePoint can be used as the data source for the Photo Album so you can eliminate the Data.XML file when using the application with SharePoint.
 

 Comments

 
 
 
 
 
 
 
 
 
 
 

Glad you liked it. Would you like to share?

Sharing this page …

Thanks! Close

Add New Comment

 

Showing 0 comments

    Trackback URL
     
    blog comments powered by Disqus
     

     Pre-Disqus Integration Comments

     

    Comments

    SharePoint (sort of) Photo Album with Slideshow

    Steven,
         What are you using for you data provider?  I've always used the Data.xml file.  Using this, the pictures are displayed in the order they are entered into the xml file.  If you want the most recent picture displayed first, always add your image to the beginning of the list of photos in the xml file rather than at the end.  However, if you are using Flickr, it should take the photos in the same order they are displayed in Flickr, in which case you would need to rearrange the images in Flickr.  I'm not sure if there is some configuration you can change to reverse the order the pictures are displayed.  If I get a chance I'll look into it, but my recommendation would be to flip the order of the images in your xml fie.
    Benjamin.SteginkNo presence information on 3/22/2011 3:24 AM

    SharePoint (sort of) Photo Album with Slideshow

    Very well written instructions here! I was able to create my slideshow in sharepoint.  Keep it up!
    Benjamin.SteginkNo presence information on 3/22/2011 3:25 AM

    SharePoint (sort of) Photo Album with Slideshow

    IS there a way in this slideshow view of photos to have the latest as the first displayed? at the moment the last pic is first on the thumbnail then when we click on it there is 75 photos to click next to reach that pic   help????????
    Benjamin.SteginkNo presence information on 3/22/2011 3:25 AM

    SharePoint (sort of) Photo Album with Slideshow

    You do not need anything installed on the SharePoint server to support to support Silverlight, all you need is the Slide.Show files and Silverlight installed on the client computer(s).  As far as Safari goes, I'll have to do some testing, I'll post an update if I can figure out the Safari crashes.
    Benjamin.SteginkNo presence information on 3/22/2011 3:25 AM

    SharePoint (sort of) Photo Album with Slideshow

    Yes and Yes.
    I'm running Safari 3 on Windows. I tried it on two different computers.
    Excuse my lack of knowledge in this area but is there any additional setup required on the SP Server to support the Silverlight engine rendering the control?
    Benjamin.SteginkNo presence information on 3/22/2011 3:25 AM

    SharePoint (sort of) Photo Album with Slideshow

    Interesting, I just tested the photo album I have running on my site using Safari on a Mac and it worked fine for me.  Were you running Safari on a Windows box and did you access the photo album on my site or on another SharePoint site?  I'll do some testing and see if I can figure out if there is something in the photo album causing it to crash.
    Benjamin.SteginkNo presence information on 3/22/2011 3:25 AM

    SharePoint (sort of) Photo Album with Slideshow

    Your photo album crashed my Safari browser :(
    Benjamin.SteginkNo presence information on 3/22/2011 3:25 AM

    SharePoint (sort of) Photo Album with Slideshow

    Mike,
         It is set in the Configuration.xml file.  You probably have something in that file similar to:

    module type="NavigationTray"
      option name="initialAlbumView" value="true"
      option name="thumbnailViewer.left" value="83"
    module

    (I had to leave off the XML brackets as my comments won't allow code in them, but you get the idea)

    If you remove the option name="initialAlbumView" value="true" from the Configuration.xml file the first album (or in your case only album) will start in the slideshow mode.
    Benjamin.SteginkNo presence information on 3/22/2011 3:25 AM

    SharePoint (sort of) Photo Album with Slideshow

    This is an excellent post!

    I'd tried it in my SharePoint site and it works.
    Benjamin.SteginkNo presence information on 3/22/2011 3:25 AM

    SharePoint (sort of) Photo Album with Slideshow

    This is really cool!.  Thanks for sharing.  I was able to configure and make it work in my SharePoint site
    Benjamin.SteginkNo presence information on 3/22/2011 3:25 AM
    1 - 10Next