wodby / php

Generic PHP docker container images
MIT License
155 stars 103 forks source link

Include GD extension #16

Closed mapsi closed 6 years ago

mapsi commented 6 years ago

Hello there,

I'm trying to crop an image to use with the 2017 theme but I get the following error.

There has been an error cropping your image.

As simple google search "wordpress There has been an error cropping your image." reveals that the GD extension is required to be installed for vanilla WP to be able to crop images. https://wordpress.org/support/topic/there-has-been-an-error-cropping-your-image-4/

Also a quick look in the official WP dockerfile it reveals that the GD extension is installed by default. https://github.com/docker-library/wordpress/blob/050652ba972ba46d24cb1b2174a2c4c9fbbbcd80/php7.1/fpm-alpine/Dockerfile#L18

Any chance you could update your Dockerfile to include the GD extension?

Many thanks in advance, Angel

mapsi commented 6 years ago

Apologies, I just noticed that GD is actually installed. Need more caffeine.