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

High resolution images uploaded as resources are cropped

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      1. Create a file resource.
      2. Upload an image whose dimensions will exceed a normal page width (I have provided a suitably large image).
      3. View the resource. Verify that you can see the whole image.
      4. Create another file resource.
      5. Upload a small image.
      6. View the resource. Verify that you can see the whole image.

      Show
      1. Create a file resource. 2. Upload an image whose dimensions will exceed a normal page width (I have provided a suitably large image). 3. View the resource. Verify that you can see the whole image. 4. Create another file resource. 5. Upload a small image. 6. View the resource. Verify that you can see the whole image.
    • Affected Branches:
      MOODLE_23_STABLE
    • Fixed Branches:
      MOODLE_21_STABLE, MOODLE_22_STABLE, MOODLE_23_STABLE
    • Pull from Repository:
    • Pull Master Branch:

      Description

      This is another instance of MDL-24895. Images which are larger than the page are not completely visible because the overflow-hidden property on page-content suppresses scrollbars.

      Replication instructions:
      1. Create a file resource.
      2. Upload an image whose dimensions will exceed a normal page width (I have provided a suitably large image).
      3. View the resource. The image will be cut-off.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              cfulton Charles Fulton
              Reporter:
              cfulton Charles Fulton
              Peer reviewer:
              Dan Poltawski
              Integrator:
              Sam Hemelryk
              Tester:
              Jason Fowler
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Bas Brands
              Votes:
              16 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                9/Jul/12