Avoid fatal errors on malformed images

Created on 6 November 2020, about 4 years ago
Updated 3 July 2023, over 1 year ago

Problem/Motivation

Some files stored in the site have errors like
https://github.com/pel/pel/issues/159
and they throw exceptions when try to get the metadata, with the image_effects module this means the file is not rendered.

Steps to reproduce

Try to get metadata from the file above

Proposed resolution

Catch the PEL exceptions and maybe log a message that informs the admin where exactly is the offending file.

Remaining tasks

Patch

Feature request
Status

Needs review

Version

3.0

Component

Code

Created by

🇪🇸Spain rodrigoaguilera Barcelona

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024