smugmug.images.getInfo

khargykhargy Registered Users Posts: 13 Big grins
I used the API last year so last year. so I'm a fairly familiar with it, so maybe I'm just forgetting something basic...

Lets say I have a URL like this:

http://khargy.smugmug.com/Trips/Russia/Moscow/Day7/i-J22W6qv/A

or even the image URL like:

http://khargy.smugmug.com/Trips/Russia/Moscow/Day7/i-J22W6qv/0/X2/2014-02-16_066m-X2.jpg

I want to call smugmug.images.getInfo but I need both the ImageID AND the ImageKey.

In this example J22W6qv is the ImageKey. Is there a way to get the ImageID with only the ImageKey?

Comments

  • gabbiegabbie Registered Users Posts: 66 Many Grins
    edited September 29, 2014
    There isn't currently a way to get the ImageID with only the ImageKey. Your best option is to use smugmug.images.getInfo to get the ImageID, but you'll need information about the album containing the image as well.
    gabbie
    SmugMug Product Manager
  • khargykhargy Registered Users Posts: 13 Big grins
    edited September 29, 2014
    Ok, looks like I'll have to wait until the 2.0 of the API is released. It works fine w/ that but it's restricted to only work when I'm logged into my smugmug account
  • TravelingSwrdsmanTravelingSwrdsman Registered Users Posts: 3 Beginner grinner
    edited October 7, 2014
    ImageInfo
    It works for when I do it. I can traverse all my albums, get all the images and all the Image info in one method. You shouldn't need to login. If your Albums are public all you'll need is the ApiKey, ImageID and imageKey
    khargy wrote: »
    Ok, looks like I'll have to wait until the 2.0 of the API is released. It works fine w/ that but it's restricted to only work when I'm logged into my smugmug account
Sign In or Register to comment.