Skip to content

Thumbnails Not Generated After Image Upload #129

@alvinchevolleaux

Description

@alvinchevolleaux

Describe the bug
Image thumbnails are not generated when images are uploaded to the media library regardless of any registered thumbnail sizes.

To Reproduce
Steps to reproduce the behavior:

  1. Start wp-cypress environment
  2. Upload image via image library after starting wp-cypress
  3. Browse uploads directory and note that no thumbnails are generated

Expected behavior
I would expect several thumbnails to be generated based on those from the theme I am using.

Screenshots
image
image

Desktop (please complete the following information):

  • OS: Windows (Ubuntu via WSL 2)
  • wp-cypress: 0.13.1

Additional context
Browsing through the source it seems wp-cypress only uses gd https://github.com/bigbite/wp-cypress/blob/master/lib/templates/dockerfile.ejs#L4-L5. The WordPress Dockerhub images use imagick https://github.com/docker-library/wordpress/blob/4d5bd0cc496f7e3976a8535dd670ca6d3763af1d/latest/php8.0/apache/Dockerfile#L48-L49 and other WordPress Docker images use gmagik.

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