Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-56062

Images are not responsive when a custom size is specified

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Medium Medium
    • None
    • 6.0.2, 6.9.1
    • Content - Page
    • None

      Summary

      When putting a large image on a Confluence page, the image will not resize with the browser unless the Original size option is selected.

      Steps to Reproduce

      1. Attach a large image to a page (such as atlassian-logo.png attached to this ticket).
      2. Click the image and select Original from the size options.
      3. Save the page and adjust the browser size to be smaller than the width of the image.
      4. Edit the page again, and select one of the custom sizes for the image, or enter in a number into the custom size field.
      5. Save the page and adjust the browser size to be smaller than the width of the image.

      Expected Results

      The image responsively resizes to show the full image as the browser size adjusts, regardless of image size selected.

      Actual Results

      The image resizes with the browser size when Original is selected, but not when any custom size is selected.

      These screenshots are taken of the same sized browser window with different options selected:

      "Original":

      Custom size:

        1. atlassian-logo.png
          atlassian-logo.png
          23 kB
        2. custom_selected.png
          custom_selected.png
          89 kB
        3. original_selected.png
          original_selected.png
          78 kB
        4. size_option_large.png
          size_option_large.png
          25 kB
        5. size_option_original.png
          size_option_original.png
          25 kB

              Unassigned Unassigned
              zlaughton Zak Laughton
              Votes:
              3 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: