Skip to content

Should storage-resize-images delete the original image if the resize fails? #470

Description

@jhuleatt

[REQUIRED] Step 2: Extension name

This feature request is for extension: storage-resize-images

What feature would you like to see?

Right now, if the DELETE_ORIGINAL_FILE param is set to true, storage-resize-images will delete the original image it is resizing even if the resize operation fails. We should consider not deleting the original image if the resize fails.

Pros of this change

If the resize operation fails, at least the original image still exists, so it could potentially be used in place of a resized image.

Cons of this change

It's a breaking change - people that use the extension currently may expect and want the original images to be deleted no matter what.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions