Image not displayed in an Assignment description

Image not displayed in an Assignment description

by Josiah Carberry -
Number of replies: 1

Using Moodle ver. 3.2.2 (Build: 20170313)

I have an assignment to whose description I have inserted an image. The code for the description looks like this:

Suppose the picture below shows...? <br><br><img src="https://mysite.com/draftfile.php/9/user/draft/480501762/2-12%20Assignment.png" alt="" role="presentation" class="img-responsive atto_image_button_text-bottom" height="336" width="449">

The image is not displayed to students. They do not even see the outline of the place where the image should be.

If I enter the URL of the image directly in the browser, namely, , the image is correctly displayed in the browser.

Furthermore, the admin can see the image in the description when editing it, but it is not displayed when that same admin just displays the assignment (without enabling the editing).

I am at a loss to understand what is happening. Any ideas?

Average of ratings: -
In reply to Josiah Carberry

Re: Image not displayed in an Assignment description

by Stev Tab -

I found removing the code that the Atto editor inserts:

role="presentation" class="img-responsive atto_image_button_text-bottom"

fixes issues such as image not centring and image not being able to be used as a hyperlink...