Details

      Description

      When inserting an image into a web content with ckeditor latest, ckeditor fills in the width and height properties of the image. When displaying the web content there is a style attribute in the html with filled in style="height: ...; width: ...." and this prevents portal to resize the image well.

      Steps to reproduce

      1. set editor.ckeditor.version=latest in portal-ext.properties
      2. start portal
      3. upload a fairly big (HD) image with Documents And Media
      4. Create a Web Content with this image
      5. Add Web Content Display portlet to a page and select this content

      Experienced behaviour

      The image scaled badly

      Expected behaviour

      The image should be scaled well

      Info

      It is related to http://dev.ckeditor.com/ticket/12126
      Putting config.image_prefillDimensions = false; into ckeditor_latest/ckconfig.jsp solves the issue

      master

      Master is not affected because the way how we insert images changed a lot. When inserting the picture we do not use ckeditor's image plugin.
      Notice that when we insert an image "image" plugin's dialog appear immediately (on 62x) but not on master. It does not even loaded.

        Attachments

        1. fixed.png
          fixed.png
          403 kB
        2. reproduced.png
          reproduced.png
          1.41 MB

          Issue Links

            Activity

              People

              • Assignee:
                michael.yu Michael Yu (Inactive)
                Reporter:
                peter.borkuti Peter Borkuti (Inactive)
                Participants of an Issue:
                Recent user:
                Esther Sanz
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  3 years, 37 weeks, 6 days ago

                  Packages

                  Version Package
                  6.2.X EE