ATutor

Learning Management Tools







Pages:1 2 3 4 5 6 7 8 9 10 11 12 13 14 15


Changing viewable area for pics in answers in Tests and Surveys


  • 2009-02-08 15:32:55

    Changing viewable area for pics in answers in Tests and Surveys

    Hi everyone. I'm using 1.6.2 and I'm making a quiz using "Tests and Suurveys". I'm making a matching question and having statements match to a graph. So, I've uploaded the pics and when I preview the question, the pic. is bigger than the viewable area set for it. So, there's scroll bars that you have to use to see the whole thing.

    How can I change the height and width of the area that these pics display in?

    Thanks a lot!

  • 2009-02-09 09:16:27

    Re: Changing viewable area for pics. in answers in Tests and Surveys

    Try this file

    atutor/themes/default/test_questions/matching.tmpl.php

    Note, it will affect all matching questions.

  • 2009-02-09 10:09:39

    Re: Changing viewable area for pics. in answers in Tests and Surveys

    If you want to change the size of an image, just grab onto the corner of the image in the visual editor, and drag it until its the right size. Or, turn on HTML text editor and modify the height and width attributes for the image.

  • 2009-02-09 22:02:12

    Re: Changing viewable area for pics. in answers in Tests and Surveys

    Greg: If I resize the image to the size required to eliminate the scroll bars, it would be unrecognizable.

    Harris: I tried looking at that file and others like it. Nothing that I could see to change in any of them.


    Is there a CSS file somewhere that dictates this?

    Thanks again.

  • 2009-02-10 09:35:16

    Re: Changing viewable area for pics. in answers in Tests and Surveys

    CSS or resizing via HTML attributes will give you the same degraded result. If you want to resize without loosing the clarity in the image, you'll probably need an image editor, like photoshop.

  • 2009-02-10 11:04:33

    Re: Changing viewable area for pics. in answers in Tests and Surveys

    No, it's not that I want to change the size of the pic., it's that I want to change the size of the box (iframe?) that it displays in so there's no need to scroll left and right and up and down in order to see the full image.

    That's where I was asking if there's a CSS setting that will allow me to change the size of the box/iframe that it displays in.

    Thanks.