Teaching with Moodle

How to control .jpg and .gif dimensions in quiz questions?