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

Allow Profile Picture Size to be configurable.

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.3.7
    • Fix Version/s: FRONTEND
    • Component/s: Libraries
    • Labels:
    • Affected Branches:
      MOODLE_23_STABLE

      Description

      Currently the profile picture size is hard coded. I propose to create configuration options to define the default sizes for the profile pictures.

      This will require the addition of a configuration page:
      Site Admin..>Users>Accounts> Profile Settings

      Profile Pictures:
      Default Size:
      Small Image Size: (35px default)
      Large Image Size: (100px default)

      This can be the basis of other generic profile configuration settings as well.

      These configuration settings would replace the default sizing values used in the process_new_icon function of \lib\gdlib.php.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              jcarson@tyndale.ca Jason Carson
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated: