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

Previews cannot be generated for gifs when Gifsicle is enabled

    Details

      Description

      Steps to reproduce:

      1. Install Gifsicle locally
      2. Set Gifsicle path in Server Administration > External Services
      3. Enable Gifsicle in System Settings > Content > Adaptive Media
      4. Navigate to Content > DM
      5. Upload a gif through drag and drop
      6. Assert image is animated as it is being uploaded
      7. Refresh page

      Expected result:
      Document card shows animated image in thumbnail preview.

      Actual result:
      Document card shows nothing in thumbnail preview.

      Navigating to Adaptive Media in the control panel shows image variants that are not adapted. A user cannot adapt the gif that was previously uploaded.

      If Gifsicle is disabled, the gif image appears in the thumbnail preview but is static (this is expected unless Gifsicle is enabled).

      This is not reproducible with other image file extensions (jpg, png, etc.)

      Reproduced on:
      Tomcat 9.0.10 + MySQL 5.7.
      7.2 Portal Beta 1

        Attachments

          Activity

            People

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

              Dates

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

                Packages

                Version Package
                Master