Skip to content

Fallback for :webp modifier to prevent system crashes #4617

Description

@intoeetive

Discussed in #4572

Originally posted by shbchk November 5, 2024

Suggest an idea for ExpressionEngine

In the development environment, when using the :webp modifier on images not present on the local server, the system throws the following exception:

Exception Caught
Cannot create a temp file from path: Mzk2L2VkaXRpb25zLzI0NjUvZmlsbXMvMTAyNTI3Ny9hY2Nlc3Nvcmllcy8xNTQwOTk2LnBuZw__.png
ee/ExpressionEngine/Library/Filesystem/Filesystem.php:1034

Please, add a fallback for cases where image files are missing on the server. Syncing all images locally is unrealistic and impractical for larger sites (currently >70GB for me).

This would prevent dev crashes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions