Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-22865

Gallery Macro does not display correctly images anymore on Chrome and Edge

    XMLWordPrintable

Details

    • Unknown
    • N/A
    • N/A
    • Pull Request accepted

    Description

      Steps to reproduce

      1. Open the XWiki instance in Edge (133) and/or Chrome (133)
      2. Attach some larger images to a page (or use the images attached to this issue)
      3. Edit the page
      4. Insert the Gallery Macro
      5. In 'Content' field, fill the names of the files to be displayed in the macro (e.g. image:MINIONb.jpg, etc)
      6. Click 'Submit' button
      7. Click 'Save & View'
      8. Scroll images to left/right on the macro

      Expected results

      The macro displays the images properly: they are correctly scaled inside the macro and the number of the slide is displayed in the lower left inside the macro.

      Actual results

      On Edge and Chrome, the images are not scaled anymore, they overflow outside of the macro (see attached screenshots).

      Also, the number of the slide is displayed in the lower left, but outside of the macro as well (partially or totally). Tried clearing the cache/ hard refresh but it's the same.

      The issue couldn't be reproduced on Firefox 135 and also could not be reproduced on XWiki 16.10.1.

      Attachments

        1. Abstract-green-backgrounds-medium.jpg
          55 kB
          Ilie Andriuta
        2. Image1_Edge_Chrome.png
          140 kB
          Ilie Andriuta
        3. Image1_Firefox.png
          147 kB
          Ilie Andriuta
        4. Image2_Edge_Chrome.png
          211 kB
          Ilie Andriuta
        5. Image2_Firefox.png
          118 kB
          Ilie Andriuta
        6. Image3_Edge_Chrome.png
          282 kB
          Ilie Andriuta
        7. Image3_Firefox.png
          155 kB
          Ilie Andriuta
        8. MINIONb.jpg
          90 kB
          Ilie Andriuta
        9. MINIONc.jpg
          41 kB
          Ilie Andriuta

        Issue Links

          Activity

            People

              Lucas C Charpentier Lucas
              iandriuta Ilie Andriuta
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: