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

Base 64 images do not display when using the “loginas” feature

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.6.3
    • Fix Version/s: None
    • Component/s: Resource
    • Labels:
    • Affected Branches:
      MOODLE_36_STABLE

      Description

      DESCRIPTION
      Base 64 images do not display when using the “loginas” feature.

      STEPS TO REPLICATE
      1. In any course create/add a Label Resource
      2. On the text editor toolbar for the Label Text, click on the “insert or edit image” button. (atto text editor was used for testing),
      3. Add Base 64 image code to the “enter Url” field.
      4. Add a description for image in the description field.
      5. Save Image, and then Click on “Save and return to course”
      6. Enroll a test student in the course
      7. Log in with student using “loginas” feature. View course and notice image does not display
      8. Log in with test student using credentials (username and password). View course and nbaseotice image displays normally

      OBSERVED BEHAVIOR:

      If the “loginas” feature is used, base 64 images are not displaying

      EXPECTED BEHAVIOR:

      When using the “loginas” feature, users should be able to see base 64 images as they can other image types.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              johnhege John Hege
              Participants:
              Component watchers:
              Adrian Greeve, Mihail Geshoski, Peter Dias
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 20 minutes
                20m