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

Badge and user profile picture using an svg file doesn't display

    XMLWordPrintable

Details

    • MOODLE_310_STABLE, MOODLE_34_STABLE, MOODLE_38_STABLE, MOODLE_39_STABLE
    • MOODLE_38_STABLE, MOODLE_39_STABLE
    • MDL-61215-master
    • Hide

      Setup

      1. Create one user (s1).

      Testing scenario 1: Badges

      1. Login as admin.
      2. Access to "Site administration / Badges / Manage badges".
      3. Click "Add a new badge" button.
      4. Check "Image (SVG+XML) .svg .svgz" is not displayed below the "Image" field.

       

      Testing scenario 2: User profile

      1. Login as admin.
      2. Access to "Site administration / Users / Accounts / Browse list of users" 
      3. Edit one of the users there (for instance, the admin user).
      4. Check "Image files used on the web" below the New picture field doesn't contain ".svg .svgz".
      5. Login as s1.
      6. Access to the User profile and click "Edit profile" link.
      7. Check "Image files used on the web" below the New picture field doesn't contain ".svg .svgz".

       

      Show
      Setup Create one user (s1). Testing scenario 1: Badges Login as admin. Access to "Site administration / Badges / Manage badges". Click "Add a new badge" button. Check "Image (SVG+XML) .svg .svgz" is not displayed below the "Image" field.   Testing scenario 2: User profile Login as admin. Access to "Site administration / Users / Accounts / Browse list of users"  Edit one of the users there (for instance, the admin user). Check "Image files used on the web" below the New picture field doesn't contain ".svg .svgz". Login as s1. Access to the User profile and click "Edit profile" link. Check "Image files used on the web" below the New picture field doesn't contain ".svg .svgz".  
    • Moppies Kanban

    Description

      From the badges interface, it seems svg is an accepted file type for badges, however if you create a badge using an svg file, it doesn't display.

      And it happens the same when a SVG file is uploaded as User picture in their profile. In that particular case, no error is displayed, but the image is ignored so the "empty" user image is displayed.

      Attachments

        Issue Links

          Activity

            People

              sarjona Sara Arjona (@sarjona)
              tsala Helen Foster
              Carlos Escobedo Carlos Escobedo
              Andrew Lyons Andrew Lyons
              Anna Carissa Sadia Anna Carissa Sadia
              Yuliya Bozhko, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Raquel Ortega, Sara Arjona (@sarjona), Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Raquel Ortega, Sara Arjona (@sarjona), Matteo Scaramuccia, Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Stevani Andolo, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Raquel Ortega, Sara Arjona (@sarjona)
              Votes:
              6 Vote for this issue
              Watchers:
              14 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                14/Sep/20

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 3 hours, 20 minutes
                  3h 20m