Question: How to download your original pictures.

flyingdutchieflyingdutchie Registered Users Posts: 1,286 Major grins
When I'm using the API with a valid session that identifies me as the owner of an Image, how would I download the original image?

Currently, I use a URL (with a cookie associated to it) that, for example, ends in xxxx-O.jpg. This works fine, unless my gallery/album does not allow for originals to be downloaded.

Even though my session-id identifies me as the owner of the Image, why isn't it possible to download the original version?

Or is there a way to make this happen (short of changing my gallery settings, since that would open it up for everybody).

Thanks!
I can't grasp the notion of time.

When I hear the earth will melt into the sun,
in two billion years,
all I can think is:
    "Will that be on a Monday?"
==========================
http://www.streetsofboston.com
http://blog.antonspaans.com

Comments

  • devbobodevbobo Registered Users, Retired Mod Posts: 4,339 SmugMug Employee
    edited May 15, 2008
    Anton,

    The original url is different for galleries that have originals disabled, calling smugmug.images.getInfo or smugmug.images.getURLs as the image owner will return the correct url.

    Cheers,

    David
    David Parry
    SmugMug API Developer
    My Photos
  • flyingdutchieflyingdutchie Registered Users Posts: 1,286 Major grins
    edited May 16, 2008
    devbobo wrote:
    Anton,

    The original url is different for galleries that have originals disabled, calling smugmug.images.getInfo or smugmug.images.getURLs as the image owner will return the correct url.

    Cheers,

    David
    Thanks David,

    The URL for the original (and you are the owner of the Image) is not the one ending in "-O.jpg". Its format is quite different (it seems it has the MD5-sum in the URL).

    I tried it and it works!
    Thanks!
    I can't grasp the notion of time.

    When I hear the earth will melt into the sun,
    in two billion years,
    all I can think is:
        "Will that be on a Monday?"
    ==========================
    http://www.streetsofboston.com
    http://blog.antonspaans.com
Sign In or Register to comment.