SmugMug Image Handler (alpha)

bluepixelbluepixel Registered Users Posts: 1 Beginner grinner
For a while I have wanted to be able to show my images both in a blog and on SmugMug. I could have just used links to my images – but that would have required turning on the links on all my images – an option that I didn’t really want to do. Recently I have been working on a small image handler (.NET) that will load images from the SmugMug API and display them via a Handler Page in ASP.net. The code is still in Alpha – but I figured I would share it with the community.

What is this “handler page”? It’s a .NET page that can be used to show content other than XHTML. In my case I output the image binary data and set the content type for the handler page to image/jpeg. This makes a browser believe that it’s actually seeing an image while on the server side I was able to get the image data from SmugMug :)

I have a working alpha version of this code running on my blog. I figured I would share it here in case anyone else wanted to use it. You can find more details and use instructions at my blog. Please feel free to give me a shout if you have any questions or feedback.

http://blog.thepixelstory.com

Thanks!

- Jason.

Comments

  • devbobodevbobo Registered Users, Retired Mod Posts: 4,339 SmugMug Employee
    edited May 7, 2008
    G'day Jason,

    Nice work.... looks awesome thumb.gif
    David Parry
    SmugMug API Developer
    My Photos
Sign In or Register to comment.