Welcome, guest ( Login )

Powered by JotSpot

WikiHome » 1.2.0 » smugmug.images.getInfo

smugmug.images.getInfo

Version 7, changed by devbobo@gmail.com. 12/28/2007.   Show version history

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

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"
      • id

Fault Codes:
  • 4 - "invalid user (message)"
  • 5 - "system error"

Attachments (0)

  File By Size Attached Ver.