[SOLVED] WebP not working in v1.41

I have…

  • Checked the logs and have uploaded a log file and provided a link because I found something suspicious there. Please do not post the log file in the topic because very often something important is missing.

I’m submitting a…

  • Regression (a behavior that stopped working in a new release)
  • Bug report
  • Performance issue
  • Documentation issue or request

Current behavior

When loading an asset everything works as expected except when using the auto=true param to convert photos to webp when browser supported.

When creating with auto=true, the file gets created, but fails to load properly.

Expected behavior

WebP file works correctly

Minimal reproduction of the problem

We are not able to reproduce this error in Squidex cloud. It does appear that the file sizes are slightly different in size between the generated webp files.

On our end, using v1.3.0 of the image resize service, WebP files are created properly. Upgrading to v1.4.1, we experience this issue.

Environment

  • Self hosted with docker
  • Self hosted with IIS
  • Self hosted with other version
  • Cloud version

Version: 1.4.1

Browser:

  • Chrome (desktop)
  • Chrome (Android)
  • Chrome (iOS)
  • Firefox
  • Safari (desktop)
  • Safari (iOS)
  • IE
  • Edge

Others:
This is related to our work on Resize photo configuration option to not store failures. We discovered that the WebP is failing and we aren’t getting any log for the failure since the file is created (just not working).

Do you have the original file for me and can I use it in my tests?


orig-file-2

Here are two that failed I tested earlier (original files).

One other note on testing. Realized I sent you two jpgs so also just tested png. The png file format appears to convert. Only issue with jpg.

I tested them locally and so far they work fine.

i don’t know what happened but I am pushing 1.42 and it should hopefully work

I have pushed a new tag.

1 Like

Tested thoroughly on our end. Working great.

1 Like

This topic was automatically closed after 36 hours. New replies are no longer allowed.