Uploaded image for project: 'CKEditor Integration'
  1. CKEditor Integration
  2. CKEDITOR-223

Image larger than the screen inserted with drag&drop in CKEditor gets distorted (explicit image size is added by default)

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.23
    • Fix Version/s: 1.29
    • Component/s: None
    • Labels:
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      This issue is related to CKEDITOR-141

      Steps to reproduce :

      • Choose a large image to upload on the wiki
      • Upload it in the content field of a page using drag and drop
      • The code of the page shows the attachment and the size of the image, ex: [[image:attachment.jpeg||height="3447" width="2292"]]
      • Save and view the page
      • When the browser's window is less wide than the image, the image will be shown stretched on its width (see screenshot with mobile view)
      • Remove the height and width parameter from the source code solve the issue.
      • The issue doesn't happen using the insert image button of CKEditor toolbar. In that case the image size it's not added as a parameter by default by CKEditor.

      Tested on XWiki 9.8.1 and 10.6

        Attachments

          Activity

            People

            • Assignee:
              mflorea Marius Dumitru Florea
              Reporter:
              jdennebouy Jean-Sébastien Dennebouy
            • Votes:
              2 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: