At my Mix08 session last week, I showed off a FlickrViewr app that I had written. You can search different user’s photos (or search all public photos by leaving the username blank).
updated: This app has been updated for Beta2. All of its controls now use VSM!
updated: This app now uses DevDave‘s AnimatingWrapPanel.
updated: Updated for Silverlight 3.
In order to run it on your own, you need to go to flickr and get your own flickr api key.
Special thanks to Pete Blois. I expanded upon his Xml Serialization Flickr library. 🙂
This FlickrViewr application uses:
- Styles
- Control Templates
- UserControls
- Custom Controls
There are also a few re-usable goodies:
- HorizontalWrapPanel (note: the app no longer uses this wrap panel)
- ContinuousProgress control
- ModalDialog
You can grab these separately here.
Hi Karen,
Thanks for a nice sample 🙂
I do, however, have one issue, as I can’t get it to work unless I remove the buttonreference to the ControlTemplate x:Key=”RightArrowButton” as my browser (ie7) locks and the Page.xaml shows something weird.
All other samples I’ve tested run without any issues, I’m located in denmark, having slightly different settings for decimaloperators, numbers etc. but usually not an issue.
Strange…. Does this happen both when you try to run it locally as well as when you run the app from https://scorbs.com?
Hi Karen, it only happens when I try to run it locally.
Could it be related to whether you’re running the asp.net 3.5 extension CTP or not (other assembly versions of some assemblies perhaps)
I am also seeing strange things only when I try to run it locally…
Karen, it may be due to a general issue with SL2 Beta.
I now and then have problems when I’m having to different instances running of VS2008 Silverlight projeckts.
Cannot run it locally, ie7 forze with only showing some cruched text.
any idea?
Comment out ColorAnimation will be ok
you should not hardcoding your flickr API key. because the code will be downloaded to client, then somebody can deassembly it and see the key.
This might interest you:
http://www.justthinkart.com/sl/Student.aspx
Is the next version of Silverlight going to have support for simple things like different colors/images for different states of a button, etc.?
Hi there,
I am trying to use databinding with your HorizonatalWrapPanel but having issues. Not sure if I have to add additional methods to your class to allow for databinding a collection to it.
I was going down the path of creating an ItemsControl and using the HorizontalWrapPanel as the ItemsPaneltemplate and a user control as the DataTemplate in the ItemsControl.ControlTemplate. But when I run it nothing shows up.
Any guidance would be great
thanks
Michael
Hi Karen,
Will FlickrViewer demo be converted to SL2 Beta 2?
I’m having various issues, especially with the DialogResult class
Rgds,
Arne
Hi Karen,
Can you upgrade the FilckrViewer demo to Silverlight 2?
Thanks,
Yuval