Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-14813 Moodle 3.10 QA
  3. MDLQA-15026

CLONE - In a database activity the file picker can be used to upload a picture into a picture field

    XMLWordPrintable

    Details

      Description

      1. Log in as a teacher, turn editing on in the course and add a new database activity.
      2. Create a picture field.
      3. Set the maximum size to the site or course upload limit.
      4. In the templates tab, save the single and list templates.
      5. Log in as a student and try adding an entry to the database.
      6. Click 'Add...' on the picture field and check that the file picker is displayed
      7. Select 'Upload a file', choose a file to upload and upload it.
      8. Click 'Save and view' and check that the picture displays correctly.
      9. Log in as the teacher again, update the database activity and set the maximum size lower.
      10. Log in as the student again and check that the maximum file size is stated correctly on the add entry page.

        Attachments

        1. Step10.png
          Step10.png
          66 kB
        2. Step1and2.png
          Step1and2.png
          34 kB
        3. Step3.png
          Step3.png
          41 kB
        4. Step4-1.png
          Step4-1.png
          48 kB
        5. Step4-2.png
          Step4-2.png
          56 kB
        6. Step5and6.png
          Step5and6.png
          53 kB
        7. Step7.png
          Step7.png
          36 kB
        8. Step8.png
          Step8.png
          107 kB
        9. Step9.png
          Step9.png
          48 kB

          Activity

            People

            Assignee:
            alrachels AL Rachels
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: