Unable to upload the webp images in small image section of blogs

Issue

  • Whenever the user tries to upload the .webp images in a small section of the blog, the following error is showing on the UI:
    An error occurred while scaling the abstract image." message on UI 

Steps to reproduce:

  1. Start the server.
  2. Configure blogs to allow the use of .webp images by adding the mime type in System Settings > Blogs > File Uploads.
  3. Navigate to the Site menu > Content & Data > Blogs.
  4. Add a new blog entry, and fill in the necessary details.
  5. Under the configuration section, add a new .webp image in the 'small image' section.
  6. Click on 'Publish'.

Expected Behavior: The user must be able to publish the blog.
Observed Behavior: It shows the 'Error: An error occurred while scaling the abstract image' on the UI.

Environment

  • Liferay DXP 7.4

Resolution

  • The observed behavior is a known bug that has already been addressed in Liferay DXP 7.4 update 85.
  • Kindly, install and enable the ImagicMagick on the portal, which provides faster and higher-quality previews and conversions and supports more image file types: Configuring External Services

Additional Information

 

¿Fue útil este artículo?
Usuarios a los que les pareció útil: 0 de 0