WHS and Smugmug 1

The first thing I looked for after signing up for SmugMug was a WHS Add-In since there is one for Flikr. Lo and behold, there isn’t one.

So last night I started writing an application architecture post when it occurred to me that the best way of explaining it was to write a program from scratch.

Enter the SmugMug Add-In idea. So I’ll be doing that in a short series of posts.

First things first, I haven’t decided whether to use Visual Studio 2005 or Express 2008.

Second, the WHS SDK is already in your servers’ Program Files\Windows Home Server folder, so don’t bother looking online for it. You’ll need these two files added as references in Visual Studio ( or Express):

  • HomeServerExt.dll
  • Microsoft.HomeServer.SDK.Interop.v1.dll

Third, the Smugmug API can be downloaded from SmugMug.com. And it looks to be rather straight forward to write code against it (Note – I always say that looking at an API for the first time, then regret it later). And you’ll need an API key from SmugMug. And you’ll need to add the API in as a reference in Visual Studio or Express.

For a quick look at it, Evan Leventhal’s .NET wrapper SmugMug.NET, is a good start.

Fourth there the way the program will work is pretty straight forward :

  • The folder name can be the name of the gallery OR an XML file in the folder will identify which gallery it corresponds to (that is the SmugMug Gallery ID) ala SyncToy.
  • Since I keep far more photos than I post in \\Server\Photos,  it would be a good idea to create a separate folder containing all the gallery folders for syncing.
  • As far as checking the folders themselves, the .Net 2.0 has a FileWatcher object ( or something to that effect).
  • A settings tab will have a list of folders in the gallery folder that will be synced by default unless you uncheck it.
  • As far as a console tab goes, I have no idea – stats, gallery browser, etc.
  • And scheduling of some sort, could do somthing ala SyncToy (and no, I’m not french).

I’m writing this primarily for myself  as I’m fed up with having to Remote in and use the Send To SmugMug shell app but it will be packaged neatly and on Codeplex once its finished, I imagine.

Photography: Beginning

Whew, Photography isin’t easy. You need the camera, the software,the online storage and so on. Not to mention the accessories.

I bought a Nikon D40x a few weeks ago and haven’t stopped playing with it since. Which is one reason the blog has been suffering. Got a 55-200mm lense in addition to the supplied 18-55mm lense. And a flash and tripod for night shooting. Though I might have to take the tripod back and get a better model.

After thinking about the moment for a while I finally settled on Smugmug mainly because I get a kick from dealing with faceless corporations everyday (not 🙂 ).  Take a look at their About us page to see what I mean .Plus they really have a good reputation.

I’ve got a few photo’s from holiday (4,300, to be exact – I went overboard). A good portion of that is from Luxor, Egypt and they’ll be the first ones up once I get them sorted. And I’ll cross-post the best of the best here.

I came within a whisker of splashing out and buying the Educational version of CS3 Design ( I qualify as a Second Year undergraduate). Though I definitely get it next month. What really sealed it was the fact that Smugmug  has a CS3 add-on for uploading your newly tweaked shot from within CS3. I’m getting it mainly for Photoshop, but Acrobat and Illustrator would be useful as well.

Once I have that I can start shooting in RAW and acting like a proper photographer 🙂 .

One thing that really would make life easier is a WHS Add on for Uploading straight to Smugmug from your Photos folder.

As a side note I subscribe to Thomas Hawks’ Blog. He has some really great shots.

Also see this list of the best photoblogs of 2007.

Great things to come…