Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-10590

Export PDF : Use content-width="scale-to-fit" attribute for image in rich text

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 4.3.8, 4.4.0
    • None
    • None
    • None
    • 4.4 M6

      See http://xep.xattic.com/xep/testsuite/usecases/image-scale.pdf

      Image width and height are already set in the image url, but they cannot be compliante with the available width of the PDF, especially if the PDF is displayed in 2 columns.

      So width and height should be not specified as attributes, and content-width="scale-to-fit" should be used to ensure that the image will not exceed the available space

            laurence Laurence Aumeunier
            laurence Laurence Aumeunier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: