A blog about .NET, Graffiti, Community Server, and Kevin's life

Graffiti Silverlight Photo Gallery Plugin Updates

Last spring I wrote a set of plugins for Graffiti CMS that add a Silverlight 1.0 photo gallery to Graffiti. They used the open source Slide.Show Silverlight photo gallery control written by Vertigo Software to render the actual gallery.

Since then Microsoft has released a new version of Silverlight with big improvements. Vertigo decided to both update the original Slide.Show control and create a new version called Slide.Show2:

  • Slide.Show was updated to support Silverlight 2.0 and Firefox 3.0. It also has minor improvements to the Flickr provider. However it still uses the old style way of deploying the Silverlight with JavaScript. Most likely only bug fixes will be added to this version.
  • Slide.Show2 is a port of the original Slide.Show to managed code and Silverlight 2.0. It is deployed as a compressed/compiled XAP file, which some older servers might have problems serving. It does not yet support Picasa as a data source. This new version is likely to be updated in the future with new features.

Graffiti.Slide.Show PluginI decided to follow suit and create two different updated versions of the original Graffiti.Slide.Show plugin. Everyone using the release version of the plugin should upgrade to one of these new versions.

  • Graffiti.Slide.Show version 1.2 has the latest and greatest bits. It uses Slide.Show2 to render the gallery and requires Graffiti 1.1. This version supports storing photos on the web server or in Flickr. I recommend using v1.2 if possible. You can see it in action on my Photos page.
  • For those who can’t run v1.2, I also created Graffiti.Slide.Show version 1.1. This uses the original updated Slide.Show control to render the gallery and requires Graffiti 1.0.1 or above. It supports storing photos on the web server, in Flickr, or in Picasa.

You can download the updated plugin in my downloads section here:
http://kevinharder.com/downloads/graffiti/slide-show-plugin/

Please upgrade your plugin and share any feedback! There are also links on the download page to get the complete source code of the plugins if you are interested in how they work. And a Google Groups mailing list for discussion and updates. If you’d like to contribute to the Graffiti.Slide.Show plugins, check out the Google Code project at http://code.google.com/p/graffiti-slideshow/.

» Similar Posts

  1. Slide.Show Photo Gallery Plugin
  2. Add a Silverlight photo gallery to your Graffiti site
  3. Enhance your Graffiti powered blog

» Trackbacks & Pingbacks

  1. Kevin Harder (of the Telligent product team) has updated the Graffiti Photo Gallery Plugin . Everyone

    Graffiti Photo Gallery Updated — November 11, 2008 7:03 AM
  2. Was just updating one of my sites to the latest release of Graffiti CMS , in order to take advantage

    Don’t forget to map the xap! — January 8, 2009 4:41 PM

» Comments

  1. Dana avatar

    I'm having a difficult time getting my photos to show up in the slideshow. It's just a blank placeholder. Can you twitter me? @crazeegeekchick

    Dana — November 11, 2008 7:49 AM
  2. Kevin Harder avatar

    If you are using Version 1.2 of this plugin and see an empty Silverlight box instead of the actual gallery, make sure your web server is configured for .XAP files.

    It should work out of the box on Windows Server 2008, but older servers may need to have the Silverlight 2.0 XAP mime type added to IIS configuration. Instructions for registering it are here: www.85turns.com/.../register-xap-fi

    If that's not possible, you can use v1.1 which has the Silverlight code in JavaScript. Hope that helps!

    Kevin Harder — November 12, 2008 12:15 PM
  3. Elijah avatar

    Well done Kevin. Works like a charm!

    Elijah — November 12, 2008 6:02 PM
  4. Michael Wright avatar

    How do you get rid of the copy to clipboard window in the photo gallery when it comes up? Maybe I don't have the latest version of Silverlight. Thanks...

    Michael Wright — December 20, 2008 12:13 PM
  5. G. Andrew Duthie avatar

    Nice work, Kevin!

    Once I added the .xap mime type, it worked great.

    G. Andrew Duthie — January 8, 2009 11:52 AM
  6. Kevin Harder avatar

    Michael Wright,

    Ahh good point. I hadn't noticed that. It looks like the "copy to clipboard" window that pops up when you click the clipboard button is too wide. At the width I am running the control, you can't see the close button to click it. I'll take a look at the Slide.Show2 code and try to get that fixed for the next update. Thanks!

    Kevin Harder — January 8, 2009 4:04 PM
  7. G. Andrew Duthie avatar

    Weird issue...I used the Embed button to grab the markup for one of my galleries and drop it into my blog...while the gallery seems to come up fine every time on the original site, on my blog it just shows a black background, and no gallery, though I can occasionally get the gallery to come up if I refresh the page.

    I have the .xap mime type mapped properly, and as noted it works fine on the original site. Any ideas for troubleshooting?

    - - Update - was just doing a little troubleshooting, and noticed that Community Server seems to be changing the <object> tag from what was originally pasted from the control to this:

    &lt;OBJECT data="data:application/x-oleobject;base64,QfXq3+HzJEysrJnDBxUISgAIAADhNgAAVykAAAAAAAAAAAAAAAAAAAAAAAA8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" width=531 type=application/x-silverlight-2 height=400&gt;

    Wonder if that has anything to do with the problem I'm seeing?

    G. Andrew Duthie — January 15, 2009 8:39 AM

Comments are closed