Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Thumbnails Not Generated After Image Upload #129

Open
alvinchevolleaux opened this issue Oct 27, 2023 · 1 comment
Open

Thumbnails Not Generated After Image Upload #129

alvinchevolleaux opened this issue Oct 27, 2023 · 1 comment

Comments

@alvinchevolleaux
Copy link

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 alvinchevolleaux changed the title Thumbnails Not Generated After Upload Thumbnails Not Generated After Image Upload Oct 27, 2023
@alvinchevolleaux
Copy link
Author

@jasonagnew @ampersarnie I could create a PR when I've got some time to try and address this issue. Let me know if that's alright and I'll try to put something together.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant