Add Images in Moodle


On this page:

 

In Moodle, you can add an image anywhere you see the Text editor toolbar.

Add an image using the File Picker

  1. In the Text editor toolbar, click the Insert or edit image icon (). The Image properties window opens.

  2. In the Image properties window, click Browse repositories.... The File picker window opens. 

  3. In the File picker window:
    • To upload a file from your computer, click Upload a file (at left).
    • To use a file already uploaded to Moodle, click Recent files, Server Files, Private Files or Embedded files (at left).
    • To copy a file from Google Drive or Box into Moodle, select Google Drive or Box. (You can connect to your Apps at UMass Amherst and UMass Box account from here. If you have off-campus accounts to Google Drive or Box, you can connect to them as long as you have logged out of Apps at UMass or UMass Box.)
  4. Follow the prompts in the File picker to upload the image to use. 
  5. Once you have uploaded a file, you will be returned to the Image properties window.

  6. In the Image properties window:
    Image properties dialog box
    • To Describe this image for someone who cannot see it, (required) enter a brief description of the image, or select the check box for Description not necessary. We strongly recommend describing each image to make your content accessible to all.
      Note: You will be unable to insert an image unless you provide a brief description of the image in Describe this image for someone who cannot see it or check Description not necessary.
    • To resize your image, check Auto size, then enter a new width or height. (When you click away from the entry box, the other dimension will auto-complete).
    • To align your image to the left or right of text (for example), use the Alignment drop-down menu.
  7. Select Save image. The image will be inserted in the Editor window.
    Note: You can reopen to the Image properties window by double-clicking an image to adjust the alignment, size, etc.

Add an image using a URL

If the image you will add is stored on another website, you can embed it using its URL.

  1. In the Text editor toolbar, select Insert or edit image (). The Image properties window opens.

  2. In the Enter URL field, enter the complete URL for your image.
    Important: Be sure to include the http:// or https:// prefix.
    (For example: http://blogs.umass.edu/instruct/files/2015/04/a-grade.jpg)
  3. Set additional image properties:
    Image properties when inserting URL
    • To Describe this image for someone who cannot see it, (required) enter a brief description of the image, or select the check box for Description not necessary. We strongly recommend describing each image to make your content accessible to all.
      Note: You will be unable to insert an image unless you provide a brief description of the image in Describe this image for someone who cannot see it or check Description not necessary.
    • To resize your image, check Auto size, then enter a new width or height. (When you click away from the entry box, the other dimension will auto-complete).
    • To align your image to the left or right of text (for example), use the Alignment drop-down menu.
  4. Select Save image.
    Note: You can reopen to the Image properties window by double clicking on an image in the Editor.

Align an image

The alignment of images loaded in Moodle is configured in the Image properties window of each image.

  1. In the Editor entry box, double-click the image. The Image properties pop-up opens.
  2. The Alignment drop-down menu gives you an option to select either Top, Middle, Bottom, Left or Right alignment.
    Text aligned to the bottom, top, left, right, and middle
  3. Once you have selected the Alignment options, click Save image. The Image properties window closes and the image appears in the Text editor entry box aligned as set.

Adjust image size

Recommended image dimensions

Moodle scales each image automatically to fit within the available area the image is placed in, such as a forum post, label, or block. This makes images "responsive" (meaning that even a very wide image will fit on the screen, whether viewed on a mobile phone, tablet, or large computer display).

While Moodle also allows you to force the size that an image appears on a page, the image file still downloads at its original dimensions. Therefore:

We strongly recommend that you resize an image before uploading to Moodle. For help learning how to resize images with the image editing software on your computer, consider accessing Lynda.com (available for free with a Boston Public Library eCard). Instructors can also contact the Instructional Media Lab for training.

Image useImage typePixel dimensions
Thumbnail imageA small version of an image that links to a larger version~ 100 pixels wide
Banner imageA wide, short image for example, in a Section summary or Label1600 pixels wide
Image in a BlockAn image placed in an Moodle HTML blockNo more than 340 pixels wide
IllustrationAn image placed within a page of text.250 to 400 pixels wide
Full sized imageThe largest possible image to display in Moodle
(with blocks docked)
1600 pixels wide


Set image size attributes

To force the maximum dimensions that an image displays:

  1. In the Editor text box, add a new image or double-click an already existing image. The Image properties pop-up opens.
  2. In the Image properties window locate Size. Select Auto size (at right) to prevent distorting the image.
  3. Change the value inside one of the boxes to shrink the image (we do not recommend enlarging). The editor automatically adjusts the other dimension (width x height).
    Image Size: width by height
  4. To confirm changes, click Save image. The Image properties window closes and the image appears in the Editor text box.

Note: This process only changes the size an image is displayed in Moodle. It does not affect the image file. This process can be repeated as many times as needed without affecting the original dimensions of the uploaded file.