SOAP API method MediaLibrary_image

Back to API references

Description
Get access to a single image from the media library

Parameters
Parameter 'id' : int
Unique identifier (id) of the object MediaLibrary. The method only applies to the medialibrary with this id.
Parameter 'identifier' : int
ID of the image, name of the image or image object
Parameter 'identifier' : string
ID of the image, name of the image or image object
Parameter 'medialibraryimage' : Structure of type 'medialibraryimage'
ID of the image, name of the image or image object
Parameter 'login' : Structure of type 'login'
Optional login data

Return values
Return value 'medialibraryimage' : Structure of type 'medialibraryimage'

Structure 'medialibraryimage'
This structure medialibraryimage was mentioned above. This structure has the following properties:
Property 'id' : int
The ID of the image.
Property 'name' : string
The filename of the image.
Property 'extension' : string
The extension of this image.
Property 'width' : int
The width of the image.
Property 'height' : int
The height of the image.
Property 'hashcode' : string
Expose the data hashcode
Property 'data' : binary
The data of the image. The data is base64 encoded.
Property 'mimetype' : string
The mime type of the image.
Property 'thumbwidth' : int
The width of the thumbnail of the image.
Property 'thumbheight' : int
The height of the thumbnail of the image.
Property 'thumbdata' : binary
The data of the thumnail of the image. The data is base64 encoded.

Structure 'login'
This structure login was mentioned above. This structure has the following properties:
Property 'username' : string
The username of the login attempt
Property 'account' : string
The account name of the login attempt
Property 'password' : string
The password for the login attempt

Structure 'medialibraryimage'
This structure medialibraryimage was mentioned above. This structure has the following properties:
Property 'id' : int
The ID of the image.
Property 'name' : string
The filename of the image.
Property 'extension' : string
The extension of this image.
Property 'width' : int
The width of the image.
Property 'height' : int
The height of the image.
Property 'hashcode' : string
Expose the data hashcode
Property 'data' : binary
The data of the image. The data is base64 encoded.
Property 'mimetype' : string
The mime type of the image.
Property 'thumbwidth' : int
The width of the thumbnail of the image.
Property 'thumbheight' : int
The height of the thumbnail of the image.
Property 'thumbdata' : binary
The data of the thumnail of the image. The data is base64 encoded.