Moodle 3.9 Responsive Images

Moodle 3.9 Responsive Images

by Stuart Humphries -
Number of replies: 3

Hello,

I was wondering if there was a way to make my images responsive? Ideally when used on a mobile, I can't seem to get it to work.

I am on 3.9. Any help would be appreciated.

Many thanks!

Average of ratings: -
In reply to Stuart Humphries

Re: Moodle 3.9 Responsive Images

by Dave Balch -
If you're using Atto, ticking the "Auto size" option in the Add image dialog should make the image scale to the available space.

Dave.
Average of ratings: Useful (2)
In reply to Stuart Humphries

Re: Moodle 3.11.3 Responsive Images

by Evelyn Smith-Stahle -

I found it!

When you insert the image, click on Appearance, then Class.

Find "Value" or "Valor" at the very end of the list. It will provide a blank space

Type img-responsive

Voila!

Now that Value appears always at the end of the list under Class.

It works even in cellphones... image reduces to the screen width.