Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5   8.0   8.1    Statistic  


Returns data that contains a picture of this person.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Addressbook 3.1 Yes No Yes, macOS only No Yes

MBS( "Addressbook.person.GetImage"; PersonID { ; ImageType; Filename } )


Parameter Description Example value
PersonID The unique ID for the target person. $personID
ImageType Optional
The type of image to return. Either JPEG, PNG, GIF or BMP. Default is JPEG.
Filename Optional
The filename to use for the picture. Default is "image" with the extension matching the image type.


Returns an image as container value or error.


Returns data that contains a picture of this person.


Get my image into container field:

Set Variable [$myID; Value:MBS( "" )]
Set Variable [$image; Value:MBS( "Addressbook.person.GetImage"; $myID)]
Set Field [Test::Image; $image]

See also

Addressbook.person.ExternalUID   -   Addressbook.person.SetBirthdayComponents

Feedback: Report problem or ask question.

MBS Xojo tutorial videos