Photo Gallery Viewer

The photo gallery will display up to 12 images, automatically adjusting the display if there are less than 12 images present. Changing the contents of the gallery takes only minutes and requires editing of only the gallery header text description, and a single Javascript array. Includes a how-to tutorial!

View    Download (591K ZIP)

9 Responses to “Photo Gallery Viewer”

  1. JoeM says:

    This Photo Gallery is very nice. I have two questions, first what program did you use to create this Silverlight Application, and second when I load the code locally it loads without any trouble, but when I upload it to a website, it fails to display the images, no errors are given.
    Thanks

  2. jeff says:

    Hi Joe -

    I use Blend for the XAML layout, and usually use Expression Web for the JavaScript bits, though I also code in WordPad, Notepad, or whatever is handy at any given time. The problem you’re having when you upload to a website is probably related to the MIME types on your server. The server probably does not have a type set up for XAML - you can email your hosting company and ask them to set up the type. It’s usually a fairly quick fix. Alternatively, you can rename the page.xaml file to page.xml, and change the reference in the default_html.js file, though you should still get the server updated to avoid having to do this every time.

  3. JoeM says:

    When I open the project in Blend, I get errors that “The Name “Canvas” does not exist in the namespace “http://schemas.microsoft.com/client/2007″, I also get a similar error with storyboard as well. What do these errors mean, since Blend will not allow me to view the XAML with these errors how can I correct them. Thanks again for all your help.

  4. jeff says:

    Seems to be working OK for me in Blend 2 December Preview, with Silverlight 1.0 installed. What version of Blend/Silverlight are you running?

  5. Allen says:

    Nice job! I’d love to integrate this into my site. I was wondering if you have plans to allow for more than 12 pictures in an album?

  6. jeff says:

    Hi Allen -

    That’s actually a common request. =)

    Eventually, I’ll get this one into C#, where it’ll be a little easier for me to make it object oriented and more extensible than it currently is…

  7. Bill Paine says:

    Very nice. Just what I was looking for. Any plans for captions?

  8. jeff says:

    Hi Bill -

    I’ve been super busy lately, but I’d like to rewrite this app and also the photo wall app in Silverlight 2 (C#). Whenever I get around to that, I’ll try to add some captions in there for you.

    Jeff

  9. Free Silverlight Controls And Tools For Brighter Websites | Greep It says:

    [...] photoGallery - Silverlight Photo Gallery [...]

Leave a Reply