API Method: smugmug.images.getURLs
This method will return all the URLs for the various sizes of 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,
obvious restrictions on Originals and Larges apply if so set by the
owner. They will return as empty strings for those URLs if they're
unavailable.
Arguments:
- String SessionID
- int ImageID
- int TemplateID
- optional, specifies which Style to build the AlbumURL with. Default: 3
- Possible values:
- Elegant: 3
- Traditional: 4
- All Thumbs: 7
- Slideshow: 8
- Journal: 9
- String Password optional
- String SitePassword optional
Result:
- struct
- 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)
Fault Codes:
- 4 - "invalid user (message)"
- 5 - "system error"