Regenerate image if it is empty

Created on 2 March 2023, over 1 year ago
Updated 9 January 2024, 6 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.69.0 2024