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

When resizing images with scaled width and height parameters in the RTE, they do not correctly get updated

XMLWordPrintable

      If you have the following markup:

      !image.jpg|width=50%, height=50%!
      

      and resize the image in the RTE and click save, you get an image with scale factors equivalent to the pixel width and height values instead.

      ie. if you resized that image to 100px by 100px in the RTE, you would end up with the following markup:

      !image.jpg|width=100%, height=100%!
      

      To fix this correctly, we would need to recalculate the scale factor correctly.

              smansour Sherif Mansour
              agnes@atlassian.com Agnes Ro
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: