Regenerate image if it is empty

Created on 2 March 2023, almost 2 years ago
Updated 9 January 2024, 11 months ago

Problem/Motivation

We are seeing webp images sometimes being a 0 byte file. Clearly something went wrong with it, and this causes the images to not load as they are corrupted.

This is happening on private files that are user-uploaded on a webform. When the admin comes to look at them, about half of them are not loading (generally it seems to be large files, so dunno if it's timing out or something).

Steps to reproduce

I haven't been able to reproduce the problem.

Proposed resolution

We can regenerate the webp file if it is 0 bytes. It makes sense to do so because it should never be 0 bytes.

Feature request
Status

Active

Version

1.0

Component

Code

Created by

🇬🇧United Kingdom Rob230

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024