Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-13905

Image support for GIFT format

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 1.8.4, 1.9
    • None
    • Questions
    • None
    • MOODLE_18_STABLE, MOODLE_19_STABLE

    Description

      The GIFT format is nice and simple, e.g. for automatic question generation from a template.
      However, it doesn't support an image to show with the question.

      This patch adds such support in a backward compatible way by generating and parsing a comment field with the image name. I have initially chosen to create a new gift_img format for this, but since the changes are so simple I think one could consider adding this feature to the normal gift format as well.

      Attachments

        Issue Links

          Activity

            People

              timhunt Tim Hunt
              wg Wolfram Gloger
              Safat Shahin, Tim Hunt, Amaia Anabitarte, Bas Brands, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Kevin Percy, Laurent David, Mathew May, Mihail Geshoski, Sabina Abellan, Sara Arjona (@sarjona), Shamim Rezaie
              Votes:
              5 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: