PIctures in Questions - How can I make them display larger?

PIctures in Questions - How can I make them display larger?

by Patrick Taylor -
Number of replies: 1
I can successfully import pictures into questions, but the program always displays them in the quiz to the same size. All the pictures seem to display with a width of 176 pixels, plus or minus 1 or 2. I am losing detail in the picture, a rather imortant part of the question. How can I get pictures to display at a minimum width of 400 pixels?
Average of ratings: -
In reply to Patrick Taylor

Re: PIctures in Questions - How can I make them display larger?

by Martin Dougiamas -
Picture of Core developers Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers
Yes, this needs to be fixed. It probably should use GD to check the image size, and only rescale JPEGs above some maximum size (since GIFs don't scale well anyway it might be better just to trust the teacher has sized it correctly).

Currently, everything is scaled to a height of 200 pixels.

The setting is defined near the top of mod/quiz/lib.php, so you can change it there.