Upload from my webpage to SmugMug?

Kevin L. KitchensKevin L. Kitchens Registered Users Posts: 149 Major grins
Hey... I was wondering if SmugMug has a webservice or something that I can use to send a photo to smugmug from my website? I would specifically want to send the photo and then receive back the imageID the system assigns.

I run a POTD site (http://photographyvoice.com/pv) and I store the initial uploads on my site, but for permanent hosting of the winners, I've used smugmug since day one. Right now, I have to manually extract the daily winners, upload, then browse the gallery to get the id#s from the URL. I store these #s in a database so it can be shown on demand.

What I want to be able to do is simply flag the days winners and hit send, and my code would transmit the picture to smugmug, get the id# back, and store it in the DB.

Is this doable?
Kevin L. Kitchens
"Know me through my lens."
My smugmug: http://peiklk.smugmug.com
My site: http://www.photographyvoice.com [POTD, Blog, News, & more!]

Comments

  • AndyAndy Registered Users Posts: 50,016 Major grins
    edited December 15, 2006
    Hey... I was wondering if SmugMug has a webservice or something that I can use to send a photo to smugmug from my website? I would specifically want to send the photo and then receive back the imageID the system assigns.

    I run a POTD site (http://photographyvoice.com/pv) and I store the initial uploads on my site, but for permanent hosting of the winners, I've used smugmug since day one. Right now, I have to manually extract the daily winners, upload, then browse the gallery to get the id#s from the URL. I store these #s in a database so it can be shown on demand.

    What I want to be able to do is simply flag the days winners and hit send, and my code would transmit the picture to smugmug, get the id# back, and store it in the DB.

    Is this doable?
    Moving to hacks forum. You'll want to talk w/ the API guys :)
  • Kevin L. KitchensKevin L. Kitchens Registered Users Posts: 149 Major grins
    edited December 15, 2006
    Andy wrote:
    Moving to hacks forum. You'll want to talk w/ the API guys :)

    Thanks... missed that forum! :)
    Kevin L. Kitchens
    "Know me through my lens."
    My smugmug: http://peiklk.smugmug.com
    My site: http://www.photographyvoice.com [POTD, Blog, News, & more!]
  • devbobodevbobo Registered Users, Retired Mod Posts: 4,339 SmugMug Employee
    edited December 15, 2006
    Hi Kevin,

    yes it is possible...start here for general api information. Then read the specific section on uploading.

    Cheers,

    David
    David Parry
    SmugMug API Developer
    My Photos
  • Kevin L. KitchensKevin L. Kitchens Registered Users Posts: 149 Major grins
    edited December 16, 2006
    devbobo wrote:
    Hi Kevin,

    yes it is possible...start here for general api information. Then read the specific section on uploading.

    Cheers,

    David

    Yeah... I stumbled on that after I asked. I was able to login and get a sessionID, but the uploading part has me baffled. I'd be doing this all via code (ASP.NET, C#) and opening a "url" is easy and getting an XML response, opening one to send a file seems a bit awkward.

    Any good examples out there? I learn great by example.

    Thanks!
    Kevin L. Kitchens
    "Know me through my lens."
    My smugmug: http://peiklk.smugmug.com
    My site: http://www.photographyvoice.com [POTD, Blog, News, & more!]
Sign In or Register to comment.