wp-cypress
wp-cypress copied to clipboard
Thumbnails Not Generated After Image Upload
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:
- Start wp-cypress environment
- Upload image via image library after starting wp-cypress
- 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
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.