Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-2856

New Question Type: Imagedit - Student can edit an Image that a teacher provided using an online free editing service (Pixlr.com)



    • Type: New Feature
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.9.8, 1.9.9, 1.9.10, 1.9.11
    • Fix Version/s: None
    • Labels:
    • Environment:
      Moodle 1.9.x


      Imagedit question type, Allow the teacher to present an image from the course's file storage and display it for editing by the students using an online image editing service - pixlr.com . grading should be given manually.

      During the quiz the student is asked to click on the image to edit it.
      The image is sent to the remote pixlr.com (flash client) editor with a unique user key (Moodle user's authentication key)
      and after the remote editing session is done, the image is sent back to Moodle and saved inside the course's file storage
      under a special "user" folder with a unique "quiz + question-attempt + user-key" name and linked as an answer to the specific question in the specific quiz attempt.
      The teacher can review this modified image and part of the quiz attempt and grade it manually.
      Since questions are saved inside the course's files storage, all answers are backed up with the course.

      Imagedit question type is based on the "File Response" question type by Adriane Boyd (thank you Adriane!)

      With minor change of code, it is possible to use other Online Image Editing services and tools like: Aviary.com
      (and other: http://innodevel.net/head-over-clouds/2011/03/four-open-source-online-image-editors/)

      Here is a video that shows the question in action:


      1. Uncompress the zip into question/type/imagedit
      2. Copy the /question/type/imagedit/move_these_files_to_your_domain_root_folder/crossdomain.xml to your Domain's root folder. It is usually on /var/www/html (On a linux server)
      3. Copy the /question/type/imagedit/move_these_files_to_your_moodle_root_folder/sendfile.php to your Moodle's root folder

      Attched is the latest version of the question type.
      Updated packages can always be found at:
      Updated code at:

      I would LOVE some feedback





            • Votes:
              0 Vote for this issue
              0 Start watching this issue


              • Created: