This project is read-only.

Flickr Dataprovider

Aug 21, 2009 at 10:05 PM

Any way to have a startalbumindex ="5" parameter to the Flickr Dataprovider?  By default, the first of the public sets are shown.

What are the initparams?  Can you specify an set in the URI?

<font size="2">



<param name="initParams" value="ConfigurationProvider=LightTheme,DataProvider=FlickrDataProvider;UserName=matt.dunn;ApiKey=b45329018eafdf2a4f89ebf6fb2bf47a" />


Aug 23, 2009 at 11:41 PM

You can add Album=# and SlideIndex=# to the initparams.  For example, to start with the 5th picture in the 2nd album, you could use the following:

<param name="initParams" value="ConfigurationProvider=LightTheme,DataProvider=FlickrDataProvider;UserName=matt.dunn;ApiKey=b45329018eafdf2a4f89ebf6fb2bf47a;Album=1;SlideIndex=4" />

Alternatively, you can specify the album and index via the querystring on the page containing the silverlight control.  For example, if you add this to your query string, it acheives the same affect.


 Note that this works regardless of the data provider.  It works for both XML and Flickr.  The code for this is all in the StartSlideShow method of Navigation.cs.

Oct 6, 2009 at 5:21 PM

I modified the code to accept a SetId parameter.  I have tons of sets and did not want to load/iterate through all of them.  It now loads a specific set if it finds the param and all sets if it doesn't. 

Thanks for the params above - are there more undocumented ones?