Camera Functions

 

ColdFusion allows you to access the camera of the mobile device through simple CFML code.

The following sections describe how you can invoke the camera using <cfclient>.

Note: The image quality of pictures taken using the camera on newer devices is quite good, and images from the Photo Album will not be downscaled to a lower quality, even if a quality parameter is specified. Encoding such images using Base64 can cause memory issues on many newer devices. Therefore, using FILE_URI for images captured is highly recommended.

Get help faster and easier

New user?