Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-8356

Add ability to display image based on criteria

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.9.3, 3.10
    • Fix Version/s: None
    • Labels:
      None
    • Affected Branches:
      MOODLE_310_STABLE, MOODLE_39_STABLE

      Description

      Description

      It would be really nice if it would be possible to conditionally display images. This is already possible for static text by wrapping it in tags provided by the likes of the Multi-Language Content (v2) filter. However this is not possible for images.

      User case

      In our case, we create courses containing multiple languages embedded in the same single course. If I want to create a certificate that contains a logo, I might want to display a different version of the logo depending on the UI language or course language. This is not currently possible.

      Workaround

      To work around the issue, we currently need to implement one version of the same certificate for each language just for the one logo and then conditionally display the activity.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            michael-milette Michael Milette
            Participants:
            Component watchers:
            Emilio Lozano, Marina Glancy, Mikel Martín Corrales
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: