Now you can call the APIs listed in this section as per your requirements to manage profile pictures in the applications built using Canvas framework.
...
- Specify the path of the user uplFor your understanding, sample application screen shots from jQM have been provided in this section.oad images for your application.
- Specify the maximum size for the user image file in bytes.
- Specify the image formats, which can be uploaded by the user.
...
- Image source (argument 1): This is a mandatory argument. You must provide the data source in the base64 format or the URL format.
- Target ID to set the data source (argument 2): This is an optional argument. The image element data-item-id value is given as the argument.If you want the picture to display in the default picture placeholder (element ID) provided by Canvas, use 'ct-pic' as the argument. If you want the profile picture to be displayed anywhere else in your application, you must provide the unique value of your application's element ID (for example, myprofile-pic) in your template as the argument.