Insert an Image or Video in the Moodle Text Editor

Use these instructions when you want to add photographs, diagrams, graphic material or videos to forum posts, blog posts or other contributions you make within your Moodle course. Graphics can illustrate the point you're making, sometimes more economically than can text.

Acceptable image file types are JPG, GIF and PNG.

Acceptable video file types include AVI and MP4.

Don't go overboard with graphics and videos in your posts. Some users have poor Internet connections, and lots of graphics videos may make it time consuming for them to load course pages.

Insert an image

Add some eye candy to your contributions to your Moodle course!

You can insert images in two ways:

  1. Upload to theBox (Beta), which will allow you to search for the uploaded image in other Moodle text editors.
  2. Upload to Moodle.

To upload and link image to Moodle via theBox:

  1. In any Moodle activity where the text editor exists (e.g. when adding a forum post) click the Image icon Insert image icon.
  2. Click the Find or upload an image... button.
  3. In the File picker window, choose theBox from the left hand side.

    Choose theBox

  4. Choose your file by:
      1. Clicking the Select your file button and browse for your file on your computer. OR
      2. Drag and drop the file into the window.



  5. Choose the proper Copyright setting for the image.



  6. Click the Save button.



  7. The file will now be uploaded to theBox (Beta).
  8. Enter a description for the image and click the Insert button.

    Add description

  9. The image file will now be uploaded.  Please ensure you finish completing the activity you were working on.

To upload to specific Moodle only:

  1. Within the text editing box, click the Insert/edit image icon Insert image icon in the third row of functions.



  2. In the Insert/edit image window, click Find or upload an image.



  3. In the File picker, click Upload a file, then Browse.



  4. In the Choose file window, browse for and select the file, then click Open.



  5. In the File picker:
      • Enter a name for the file to Save as in the repository.
      • Adjust author and license details if necessary.
      • Click Upload this file.



  1. In the Insert/edit image window, the Image URL displays and the image displays in the Preview box.
    • Enter an Image description to display to users who employ screen readers.
    • Click Insert. The image displays in the text editor. Once you have saved your changes to this page, the image will display with any other content entered in the text editor, when a user clicks the link for the item.

Insert a video

To upload and link to a video or audio file:

  1. In any Moodle activity where the text editor exists (e.g. when adding a forum post) click the Moodle Media icon .
  2. Click the Find or upload a sound, video or applet... button.



  3. In the File picker window, choose theBox from the left hand side.

    Choose theBox respository

  4. Choose your file by:
      1. Clicking the Select your file button and browse for your file on your computer. OR
      2. Drag and drop the file into the window.

    Choose video file

  5. Choose the proper  Copyright setting for the file.
  6. Click the Save button.
  7. Click the Insert button.
  8. The audio or video file will now be uploaded.  Please ensure you finish completing the activity you were working on.

Note: If you have uploaded a video it will not be available immediately but will be transcoded by the system so that it's viewable in the web browser.

 

Copy images between text editors

A word of caution

Do you want the same image to display in two places in your Moodle course? If so, you cannot reproduce it by copying the image's URL from the HTML source code and paste it into a second text editor. That URL is for a temporary file that exists for a single instance of the text editor. The link will break if you cut and paste it into a second text editor.

Instead, create a second copy by inserting the image from scratch in the second location. See the instructions earlier on this page.