WebP not working in v1.50

I have…

  • Read the following guideline: Troubleshooting and Support | Squidex. I understand that my support request might get deleted if I do not follow the guideline.
  • Used code blocks with ``` to format my code examples like JSON or logs properly.

I’m submitting a…

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

Current behavior

Same issue we saw at [SOLVED] WebP not working in v1.41

Overall original fix appeared to work good, but have run into more photos that seem to fail every time.

Expected behavior

WebP file works correctly

Minimal reproduction of the problem

Including two photos that will not convert with resizer to webp, however do convert on Squidex cloud. Same issue as in past, if I downgrade to 1.3, everything works.

Environment

App Name: templates

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

Version: 1.5.0

Browser:

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

Others:

I can’t reproduce it. Perhaps the forum changes the files before they are uploaded. But it works for me:

Went ahead and e-mailed you the original photos. I think you are right about the forum upload doing something, as those worked for me as well.

When I test the photos I e-mailed they fail doing auto=true, or show some but not all of the photo, and fail completely with auto=true&width=400

We often set both auto=true and width for responsive images. Hoping this will help you reproduce on your end.

I have pushed a 1.6.0. I think metadata might be the problem. I was able to load the file in Windows, but the browser had issues. Therefore I disabled metadata saving in the webp encoder.

Tested on a large set of photos that were failing and all convert now. Thank you for the help as always, you rock.

1 Like