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

Drag and Drop Image feature does not support image files ending with UPPERCASE file extensions

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.3.5, 2.4.2
    • 2.3.4, 2.4.1, 2.5
    • JavaScript
    • MOODLE_23_STABLE, MOODLE_24_STABLE, MOODLE_25_STABLE
    • MOODLE_23_STABLE, MOODLE_24_STABLE
    • MDL-38033_dnd_uppercase_extn
    • Hide

      master branch only:

      1. Make sure the label settigns (site admin > plugins > activities > label) allow images to be dragged and dropped into a course page
      2. Turn editing on in a course
      3. Drag and drop an image file with a lower-case extension (e.g. 'cat.jpg')
        • Check the option to 'add image to course page' is offered (along with 'create file resource')
      4. Drag and drop an image file with an upper-case extension (e.g. 'cat.JPG')
        • Check the option to 'add image to course page' is offered (along with 'create file resource')

      all branches (2.3/2.4/master):

      1. Turn editing on in a course
      2. Drag and drop a zip file with lower-case extension (e.g. 'files.zip')
        • Check the options to 'unzip the files and create a folder' and 'create a SCORM' are offered (along with 'create file resource')
      3. Drag and drop a zip file with upper-case extension (e.g. 'files.ZIP')
        • Check the options to 'unzip the files and create a folder' and 'create a SCORM' are offered (along with 'create file resource')

      As always with drag and drop, this only applies to supported browsers (Firefox, Chrome, IE10, Safari?)

      Show
      master branch only: Make sure the label settigns (site admin > plugins > activities > label) allow images to be dragged and dropped into a course page Turn editing on in a course Drag and drop an image file with a lower-case extension (e.g. 'cat.jpg') Check the option to 'add image to course page' is offered (along with 'create file resource') Drag and drop an image file with an upper-case extension (e.g. 'cat.JPG') Check the option to 'add image to course page' is offered (along with 'create file resource') all branches (2.3/2.4/master): Turn editing on in a course Drag and drop a zip file with lower-case extension (e.g. 'files.zip') Check the options to 'unzip the files and create a folder' and 'create a SCORM' are offered (along with 'create file resource') Drag and drop a zip file with upper-case extension (e.g. 'files.ZIP') Check the options to 'unzip the files and create a folder' and 'create a SCORM' are offered (along with 'create file resource') As always with drag and drop, this only applies to supported browsers (Firefox, Chrome, IE10, Safari?)

      The Drag and Drop Image code by Davo Smith (as of 14th February 2013), for image embed purposes, only recognizes file extensions that are in lowercase. E.g., *.png and *.jpg embed correctly when dragged to the course page. However, image files that end with the file extensions *.PNG and *.JPG will end up as image file links instead of being embedded inside the course page.

            davosmith Davo Smith
            frankiekam Frankie Kam
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Adrian Greeve Adrian Greeve
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.