Request: Drag & Drop Onto Image

Request: Drag & Drop Onto Image

by K Kirkwood -
Number of replies: 2

Would it be possible to revise the image size defaults, or to allow users to define?

Each time we have an update, I need to request a "resizing" or all new questions or any revised/updated question gets shrunk down to the itsy-bitsy default size.


We originally set it for 640x480, then 800, but in the end we found the following to work best for everyone.


define('QTYPE_DDIMAGEORTEXT_BGIMAGE_MAXWIDTH', 1280);

define('QTYPE_DDIMAGEORTEXT_BGIMAGE_MAXHEIGHT', 768);

define('QTYPE_DDIMAGEORTEXT_DRAGIMAGE_MAXWIDTH', 768);

define('QTYPE_DDIMAGEORTEXT_DRAGIMAGE_MAXHEIGHT', 300);


Thanks.

Moodle 3.x


Average of ratings: -
In reply to K Kirkwood

Re: Request: Drag & Drop Onto Image

by Tim Hunt -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

I think the real answer here is to use the 'responsive design' concept, so the image resizes to fit the space available. However, that is hard. It is on my backlog of things to work on, but I have not started thinking about it in detail yet.