ImageCapture.Thumbnail
----------------------

Queries thumbnail for a file if available.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [ImageCapture](component_ImageCapture.md) | [8.3](newinversion83.md) | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |

MBS( "ImageCapture.Thumbnail"; FileName { ; ImageType; FileName } ) 

**MBS**( **"ImageCapture.Thumbnail";** /\* Queries thumbnail for a file if available. \*/  
**$FileName**; /\* The file name of the media file to download.e.g. "IMG1234.JPG" \*/   
**$ImageType**; /\* Optional; The type of image to return.   
Either JPEG, PNG, GIF or BMP. Default is JPEG.e.g. "JPEG" \*/   
**$FileName**) /\* Optional; The filename to use for the picture.   
Default is "image" with the extension matching the image type.e.g. "test.jpg" \*/ 

### Parameters

| Parameter | Description | Example | Flags |
|---|---|---|---|
| FileName | The file name of the media file to download. | "IMG1234.JPG" |  |
| ImageType | The type of image to return.    Either JPEG, PNG, GIF or BMP. Default is JPEG. | "JPEG" | Optional |
| FileName | The filename to use for the picture.    Default is "image" with the extension matching the image type. | "test.jpg" | Optional |

### Result

Returns image or error.

### Description

Queries thumbnail for a file if available.  
### Release notes

- **Version 8.3**
    - Added [ImageCapture](http://www.mbsplugins.eu/component_ImageCapture.shtml) functions to take pictures and download images from camera: [ImageCapture.CameraInfo](http://www.mbsplugins.eu/ImageCaptureCameraInfo.shtml), [ImageCapture.Download](http://www.mbsplugins.eu/ImageCaptureDownload.shtml), [ImageCapture.Thumbnail](http://www.mbsplugins.eu/ImageCaptureThumbnail.shtml), [ImageCapture.Contents](http://www.mbsplugins.eu/ImageCaptureContents.shtml), [ImageCapture.MediaFiles](http://www.mbsplugins.eu/ImageCaptureMediaFiles.shtml), [ImageCapture.MediaFilenames](http://www.mbsplugins.eu/ImageCaptureMediaFilenames.shtml), [ImageCapture.RequestDeleteFiles](http://www.mbsplugins.eu/ImageCaptureRequestDeleteFiles.shtml), [ImageCapture.RequestSyncClock](http://www.mbsplugins.eu/ImageCaptureRequestSyncClock.shtml), [ImageCapture.RequestDisableTethering](http://www.mbsplugins.eu/ImageCaptureRequestDisableTethering.shtml), [ImageCapture.RequestEnableTethering](http://www.mbsplugins.eu/ImageCaptureRequestEnableTethering.shtml) and [ImageCapture.RequestTakePicture](http://www.mbsplugins.eu/ImageCaptureRequestTakePicture.shtml).

### Example Databases

- [Mac only/ImageCapture/Camera Import](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Mac%20only/ImageCapture/Camera%20Import.shtml#5ScriptAnchor_)

### Blog Entries

- [MBS FileMaker Plugin, version 8.3pr2](https://www.mbsplugins.de/archive/2018-06-18/MBS_FileMaker_Plugin_version_8/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 4th June 2018 , last changed 29th September 2020

  
[ImageCapture.SetParameter](ImageCaptureSetParameter.md) - [ImageCapture.cancelScan](ImageCapturecancelScan.md)

[HTML Version](ImageCaptureThumbnail.shtml)