Dashboard > SmugMug > ... > API 1.2.0 > smugmug.images 1.2.0 > smugmug.images.getInfo 1.2.0
Log In   View a printable version of the current page.
SmugMug
smugmug.images.getInfo 1.2.0
Added by David Parry , last edited by David Parry on Feb 08, 2008  (view change)
Labels: 
(None)

API Method: smugmug.images.getInfo

This method will return details about the image specified by ImageID. The Album must be owned by the Session holder, or else be Public (if password-protected, a Password must be provided), to return results.. Otherwise, an "invalid user" faultCode will result. Additionally, some fields are only returned to the Album owner.

Arguments:* String SessionID

  • int ImageID
  • String Password optional
  • String SitePassword optional
  • String ImageKey

Result:* struct "Image"

    • int "id"
    • String "Caption"
    • int "Position"
    • int "Serial"
    • int "Size"
    • int "Width"
    • int "Height"
    • String "LastUpdated"
    • String "FileName" owner only
    • String "MD5Sum" owner only
    • String "Watermark" owner only
    • Boolean "Hidden" owner only
    • String "Format"  owner only
    • String "Keywords" 
    • String "Date" owner only
    • String "AlbumURL"
    • String "TinyURL"
    • String "ThumbURL"
    • String "SmallURL"
    • String "MediumURL"
    • String "LargeURL" (if available)
    • String "XLargeURL" (if available)
    • String "X2LargeURL" (if available)
    • String "X3LargeURL" (if available)
    • String "OriginalURL" (if available)
    • struct "Album"
      • integer "id"
      • String "Key"

Fault Codes:* 4 - "invalid user (message)"

  • 5 - "system error"
Powered by Atlassian Confluence 2.7.1, the Enterprise Wiki. Bug/feature request - Atlassian news - Contact administrators