wp-cypress icon indicating copy to clipboard operation
wp-cypress copied to clipboard

Thumbnails Not Generated After Image Upload

Open alvinchevolleaux opened this issue 1 year ago • 1 comments

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.

alvinchevolleaux avatar Oct 27 '23 12:10 alvinchevolleaux