Skip to main content

Image Question

A question that asks the user to upload an image.


  • question | (string|node): text for the question. Default: ''.
  • hintPlacement | string: placement of the hints (either top, left, right, or bottom). Default: 'bottom'.
  • hints | array<(string|node)>: hints providing guidance on how to answer the question. Default: [].
  • feedback | boolean: controls whether to display feedback buttons. Default: true.
  • chat | boolean: controls whether the element should have an integrated chat. Default: false.
  • disableSubmitNotification | boolean: controls whether a notification should be displayed after submitting an image. Default: false.
  • className | string: class name. Default: ''.
  • sketchpad | object: properties to be passed to
    component; to render the sketchpad, pass in at least an empty object {}. Default: none.
  • solution | string: image URL of model solution. Default: none.
  • until | Date: time until students should be allowed to submit answers. Default: none.
  • points | number: maximum number of points awarded in grading. Default: 10.
  • style | object: CSS inline styles. Default: {}.
  • onSubmit | function: callback invoked when answer is submitted; has as a sole parameter a boolean indicating whether the elements were placed in the correct order. Default: onSubmit() {}.


Live Editor
ReferenceError: Provider is not defined