Atto ::: atto_sketch
Maintained by Matthew Davidson
Simple image "paint like" editor for atto.
Latest release:
1184 sites
36 fans
Current versions available: 2


Adds a simple "Paint" like program to the atto editor. Features include simple shape tools, drawing, typing, colors, undo/redo. Utilizes the open source "Literally Canvas" image editor.


Create the lib/editor/atto/plugins/sketch folder and place all files there. Run through standard Moodle update/install process.



Set cursor in the editor and click the sketch icon. The editor will open full screen. Use a stylus, finger or mouse to create/edit image. Click "Insert Sketch" to add to editor.

* When used with the Quiz essay question type, please be advised that the essay response format must be set to "HTML-Editor with filepicker" for full functionality.


Screenshot #0
Screenshot #1


Matthew Davidson (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Al
    Sun, Dec 20, 2020, 12:28 AM
    This extension is fantastic, it allows the student to edit images online. We do testing in schools have had a few testing this plugin. I hope that was OK, Matthew. I did try to message you but was unable.

    The overwhelming response was fantastic. There were a number of suggestions, which you may or may not be interested in but I am happy to share them with you as all are really constructive and from those in education. One point, however, I must share is the button in the top left which says "Mini Paint". Users are saying they lose all the work they have done with no warning at all and they can't get it back. We check this and got the same. We suggest an, "Are you sure?" message would solve this, as many keep losing their work by mistake. There are one or to other suggested tweaks from Teacher, Student and Exam boards, contact me if you would like this. Great Plugin, Cheers.

    We test and support completely free, it is all to help each other out.
  • Thu, Feb 4, 2021, 9:25 AM
    Hey Matthew, is there a way to set a maxwidth for the img tag that is inserted? Or control the image size itself?
    I'd like to use for adding signatures to essays etc, but the image that is inserted is 1280 x 720 and way too large for this use case...
  • Sat, Feb 13, 2021, 7:10 PM
    I saw a comment about the Sketch icon not visible. Here are my findings:

    1. As pointed out earlier, go to /admin/settings.php?section=atto_sketch_settings and check the box "If checked the sketch will be saved as a standard image upload instead of a base64 inline image."

    2. However, when you do this, the Sketch icon disappears from the toolbar menu. In the quiz setting--> Response Options, set the Response format as “HTML editor with file picker” instead of “HTML editor” and it should work well.

    I am on Moodle 3.9 and tested this on Firefox.

    @Matthew: Any plans to upgrade the plugin to 3.10?
  • Wed, Aug 18, 2021, 11:42 AM
    This is great! But I cannot use it with my k-12 students. Is there a way to turn safe search on for the pixelbay image search or disable the button?
  • Wed, Aug 18, 2021, 8:59 PM
    @Nicholas Fahey In sketch/css/layout.css add the following:

    span#media {
    display: none;
  • Fri, Jun 3, 2022, 7:56 PM
    Does it work with Moodle 3.9.8 and following?
  • Thu, Jun 9, 2022, 5:32 PM
    I just installed it, but when I preview the question, I can't seem to find the Sketch Icon. Am I supposed to do anything else beyond installing this plugin, to make it working ? Thanks
  • Thu, Jun 9, 2022, 8:54 PM
    @Roberto Catanuto You must also add "sketch" to the list of plugins added into each text editor.
  • Fri, Jun 10, 2022, 6:11 PM
    @MatthewDavidson yes I already did it.
    In this page, I added the line "sketch = sketch".
    I can see the plugin's icon in the following boxes of the question editing page: "Question text", "General feedback", "Grader information". It is not visible in "Response template" and more importantly in the preview of the question that will be shown to students.
  • Fri, Jun 17, 2022, 6:23 PM
    @Anirudh-Phadke your suggestion works. Thanks. Anyway, when I give students a question with a response template having a background picture, Sketch refuses to save the picture after the students edited it. Any ideas ?
  • Fri, Jun 17, 2022, 8:37 PM
    I've just tested and it worked for me. Can you tell me the image type (jpg, png, gif) and the size of the template (height and width)?
  • Al
    Mon, Jun 27, 2022, 5:42 AM
    Hi, please could you update the supported version number for moodle to moodle 4. This means that each week when we update moodle, the extension will automatically install. Currently, you have to install it manually which takes time. Thank you so much.
  • Thu, Jun 30, 2022, 9:05 PM
    image type : .jpg
    dimensions : 709 × 620
    browser : Chrome latest on MacOS 11.6.7

    BTW: I'm subscribed to this thread but I don't receive notifications
  • Wed, Feb 22, 2023, 4:26 AM
    I tried sketch on the iPad but could not use several functions like the eraser. Is it possible to draw on a background image?

  • Wed, Feb 22, 2023, 5:26 AM
    @Erbil Yilmaz I just tested it on an iPad, it does work, however when wanting to open an image I have to put the cursor beside the image instead of selecting the image. I'll try to look into IOS compatibility issues like this.
1 2 3 4
Please login to post comments