How do I display an image in an HTML block?

Re: How do I display an image in an HTML block?

by Helen Foster -
Number of replies: 0
Picture of Core developers Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers Picture of Translators
Hi Matt,

The easiest way to display an image is by selecting the "Insert Image" button (a picture) in the html editor. Alternatively, you may upload the image to your course files folder then type some html in text mode e.g.

<img src="http://mymoodlesite.com/file.php/2/picture.jpg" title="picture" alt="picture" />