DateTaken - smugmug.images.get

David PLDavid PL Registered Users Posts: 80 Big grins
Hello,

It would greatly help if the smugmug.images.get returned the Date Taken for each image. Currently, the smugmug.images.get method seems to return only the Date Uploaded and the Date Last Updated, but not the Date Taken.

I know there is a separate API method for obtaining the EXIF which would include the Date Taken, but this would mean making a separate API call for each image. That API call also includes all of the additional EXIF fields that would add a lot of overhead if all you need is the Date Taken.

The reason why I would like to have Date Taken returned is for the following:
Among other things, the desktop application I am developing allows for browsing your SmugMug albums. As part of this, it locally indexes the user's albums to allow you to filter your images by various fields including date, keyword, etc.

Also, I am currently implementing a local caching system in my application utilizing the LastUpdated parameter in 1.2.2. Since my app is caching the album info (rather than obtaining the full image list each time from the API to determine image order), if a gallery is set to sort by Date Taken, it must maintain that field in the cache to be able to sort by that field so the images are displayed in the correct order.
Thanks.

Comments

  • devbobodevbobo Registered Users, Retired Mod Posts: 4,339 SmugMug Employee
    edited August 12, 2009
    Hey David,

    I'm take a look, I can't promise anything. Returning that info is going to require an extra trip to the db (or memcache). I'll see if I can wire up something with the Extras parameter to pull out any exif that people might want.

    Cheers,

    David
    David Parry
    SmugMug API Developer
    My Photos
  • SamirDSamirD Registered Users Posts: 3,474 Major grins
    edited August 16, 2009
    Oooo! Oooo! Any way to use this in conjunction with the filename when determining dupes in the default uploader? iloveyou.gif

    I've only needed this feature once due to dupe names in the same gallery, but I'm sure others may find it handy. I never reset my camera filenames so they're always unique. rolleyes1.gif
    Pictures and Videos of the Huntsville Car Scene: www.huntsvillecarscene.com
    Want faster uploading? Vote for FTP!
  • David PLDavid PL Registered Users Posts: 80 Big grins
    edited August 17, 2009
    devbobo wrote:
    Hey David,

    I'm take a look, I can't promise anything. Returning that info is going to require an extra trip to the db (or memcache). I'll see if I can wire up something with the Extras parameter to pull out any exif that people might want.

    Cheers,

    David


    Having it available through the Extras parameter would be perfect. Hope this looks like it can be done. Thanks.
  • David PLDavid PL Registered Users Posts: 80 Big grins
    edited January 31, 2010
    devbobo wrote:
    Hey David,

    I'm take a look, I can't promise anything. Returning that info is going to require an extra trip to the db (or memcache). I'll see if I can wire up something with the Extras parameter to pull out any exif that people might want.

    Cheers,

    David

    Anything new on this? I'm really hoping this can be done.
  • devbobodevbobo Registered Users, Retired Mod Posts: 4,339 SmugMug Employee
    edited January 31, 2010
    I'm hoping to have this in our next push...but we'll see :D
    David Parry
    SmugMug API Developer
    My Photos
  • devbobodevbobo Registered Users, Retired Mod Posts: 4,339 SmugMug Employee
    edited February 3, 2010
    bump, this is live.

    you can get all exif for images by adding &Extras=EXIF to the call.

    or get specific exif values by specifying them... &Extras=EXIFDateTime,EXIFDateTimeOriginal

    Enjoy :D

    David
    David Parry
    SmugMug API Developer
    My Photos
  • David PLDavid PL Registered Users Posts: 80 Big grins
    edited February 3, 2010
    devbobo wrote:
    bump, this is live.

    you can get all exif for images by adding &Extras=EXIF to the call.

    or get specific exif values by specifying them... &Extras=EXIFDateTime,EXIFDateTimeOriginal

    Enjoy :D

    David

    That is awesome. This is going to be very useful. Thanks.
Sign In or Register to comment.