Skip to content
This repository was archived by the owner on Jan 6, 2023. It is now read-only.
This repository was archived by the owner on Jan 6, 2023. It is now read-only.

thumbnailing / image rescaling broken  #71

@deanscarff

Description

@deanscarff

With current (at least 5.4 and 5.5) versions of WordPress and the PHP runtime (tested with php74 and the imagick extension enabled from app.yaml), and just the gcs-media-plugin enabled (not the appengine-plugin), rescaled images will not be generated even if the full-sized image successfully uploads.

This is due to assumptions in the WordPress "image editor" code that images are local files (rather than URLs / stream wrappers).

Filing this ticket here for tracking purposes, though I believe the correct fix for this issue should be made in WordPress core. I have a working patch and have submitted it to the WordPress tracker:
https://core.trac.wordpress.org/ticket/50630

Related posts:
https://wordpress.org/support/topic/thumbnails-broken-with-gcs-plugin/
https://scarff.id.au/blog/2020/wordpress-gcs-plugin-broken-thumbnails/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions