Search Google Appliance

Information Technology

Add Images in Moodle

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

  • Instructors can use images in activity descriptions (such as the description for an Assignment), Quiz questions, a post to a Forum, or in a Page resource.
  • Students can add images when posting in a forum, submitting a text-based assignment, taking a quiz, contributing to a database activity, etc..

Add an Image Using the File Picker

  1. In the Text editor toolbar, click the Image icon (Image Icon Moodle 2.8). The Image properties window will open.Moodle Formatting Toolbar

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

  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.
    • 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. Navigate through the folders and files in the selected repository to locate your image.
  5. Click the icon or name for the image to use. The Select window opens.

  6. In the Select window, click Select this file. You'll be returned to the Image properties window.

  7. In the Image properties window:
    Insert image dialog window  (click to enlarge)
    • For Describe this image for someone who cannot see it, (required) enter a brief description of the image, or check 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.
  8. 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 Add Image (Image Icon Moodle 2.8). The Image properties window will open.Moodle formatting toolbar

  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:
    Insert image dialog window  (click to enlarge)
    • For Describe this image for someone who cannot see it, (required) enter a brief description of the image, or check 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 will open.
  2. The Alignment drop-down menu gives you an option to select either Top, Middle, Bottom, Left or Right alignment.
    alingment examples in moodle 3(click to enlarge)
  3. Select Save image. The Image properties window will close and the image will appear in the Text editor entry box aligned as set.

Adjust Image Size

Recommended Image Dimensions

Moodle will scale 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 it's original dimensions. Therefore:

  • If you upload a large image (e.g., from a camera) and set it to display very small, page-load time will be slow.
  • If you upload a very small image and set it in Moodle to appear larger than it's actual pixel dimensions, the image will appear blurry.

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, visit Hoonuit (previously Atomic Learning). Instructors can also contact the Instructional Media Lab for training.

Image Use Image type Pixel Dimensions
Thumbnail image A small version of an image that links to a larger version ~ 100 pixels wide
Banner image A wide, short image for example, in a Section summary or Label 1600 pixels wide
Image in a Block An image placed in an Moodle HTML block No more than 340 pixels wide
Illustration An image placed within a page of text. 250 to 400 pixels wide
Full sized image The 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 will open.
  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 will automatically adjust the other dimension (width x height) .
    Image Size Options Moodle 2.8 SS
  4. To confirm changes, click Save image.  The Image properties window will close and the image will appear 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.