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

Display course image at the top of the course page to align with the Mobile app

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.5.2
    • Fix Version/s: 3.6
    • Component/s: Course
    • Labels:
    • Testing Instructions:
      Hide

      Boost and Clean themes

      Please test the following tests on both the Boost and Clean theme.
      Please also test these on each of the supported browsers.

      Setup

      Users and enrolments

      1. Log in as admin.
      2. Create 2 courses, c1, c2 and c3.
      3. Enrol yourself in all 3 courses.

      Check if course images are enabled

      1. Navigate to Site Administration > Courses > Course default settings.
      2. Confirm the setting "Show course images" is enabled.

      Check if course images match dashboard images

      1. Navigate to your dashboard and look at the course card image for c1.
      2. Click on the link for course c1.
      3. Confirm the image shown in the course header for c1 matches the course card image for course c1 on the dashboard.

      Add a custom image

      1. Navigate to course c1.
      2. Click the gear icon in the course header.
      3. Select Edit Settings.
      4. Upload an image in the course summary files section.
      5. Click the Save and Display button.
      6. Confirm you see your uploaded image in the course header.

      Disable course header images

      1. Navigate to Site Administration > Courses > Course default settings.
      2. Disable setting "Show course images".
      3. Navigate to course c1.
      4. Confirm no image is shown in the course header.

       

      Show
      Boost and Clean themes Please test the following tests on both the Boost and Clean theme. Please also test these on each of the supported browsers . Setup Users and enrolments Log in as admin. Create 2 courses, c1, c2 and c3. Enrol yourself in all 3 courses. Check if course images are enabled Navigate to Site Administration > Courses > Course default settings. Confirm the setting "Show course images" is enabled. Check if course images match dashboard images Navigate to your dashboard and look at the course card image for c1. Click on the link for course c1. Confirm  the image shown in the course header for c1 matches the course card image for course c1 on the dashboard. Add a custom image Navigate to course c1. Click the gear icon in the course header. Select Edit Settings. Upload an image in the course summary files section. Click the Save and Display button. Confirm  you see your uploaded image in the course header. Disable course header images Navigate to Site Administration > Courses > Course default settings. Disable setting "Show course images". Navigate to course c1. Confirm no image is shown in the course header.  
    • Affected Branches:
      MOODLE_35_STABLE
    • Fixed Branches:
      MOODLE_36_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-63445-master

      Description

      Please note: This improvement is being removed from 3.6 in MDL-63836.

      Core and the mobile app should display the course image in the same location. Currently the course image only displays on the course card, but not when you're on the course page.

      This may affect a lot of course designs. So add a course setting to switch it on or off (default to on for consistency on new sites)

      (Edited to add note.)

        Attachments

        1. course-image.png
          course-image.png
          562 kB
        2. course image on home page.png
          course image on home page.png
          27 kB
        3. Fordson-Course-Header.jpg
          Fordson-Course-Header.jpg
          52 kB
        4. MDL-63445.PNG
          MDL-63445.PNG
          155 kB
        5. Mobile app course image.png
          Mobile app course image.png
          277 kB
        6. mock-up of course image for core.png
          mock-up of course image for core.png
          270 kB

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                10 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  3/Dec/18

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 3 hours
                  3h