Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-98299

Image conversation Error (PNG from a JPG)

    Details

      Description

      Image conversation Error (PNG from a JPG)

      Reproduction steps (probably can be reproduced without Adaptive Media as well)
      1) Install Liferay with Adaptive Media deployed
      2) Rename a jpeg file to test.image.JPG (uppercase extension is important)
      3) Upload the file to document and media library with the Basic Uploader
      4) Create a DDMStructure for WebContent with an Image type field save it as ImageStructure
      5) Create a DDMTemplate for the ImageStructure that has been created in step 5
      6) Create a WebContent based on ImageStructure
      7) Select the Image uploaded in step 3
      8) Click on the pencil icon for Edit
      9) Resize the image
      10) Apply the modification
      11) Save the image
      12) Click Add
      13) Save the article
      14) Go to Documents and Media
      15) Open the image test.image.JPG.jpg (this is the copy of the original image with resized size)
      16) Click on the Info icon

       Expected result: metadata section reports that the content type is image/jpeg
       Actual result: metadata section reports that the content type is image/png

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                4 weeks, 3 days ago

                Packages

                Version Package
                7.0.X
                7.1.X
                7.2.X
                Master