# Alpine image editor module not working

**URL:** <https://forums.docker.com/t/alpine-image-editor-module-not-working/127761>\
**Category:** General\
**Tags:** docker, docker-compose\
**Created:** [August 13, 2022, 10:19am UTC](https://forums.docker.com/t/alpine-image-editor-module-not-working/127761 "2022-08-13T10:19:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bastianferch](https://avatars.discourse-cdn.com/v4/letter/b/8baadc/32.png) [@bastianferch](https://forums.docker.com/u/bastianferch)\
**Post date:** [August 13, 2022, 10:19am UTC](https://forums.docker.com/t/alpine-image-editor-module-not-working/127761/1 "2022-08-13T10:19:53Z")

</div>

Hello Community,

I am currently using a docker setup with 7.4-fpm-alpine as my linux distribution in a docker container. I want to edit images inside of WordPress, but the warning tells me “Image rotation is not supported by your web host.” and another error which also tells me that the something is wrong with my image editor module  
I have tried to add php-gd like here [Gideon-php-gd](https://gideonheilbron.nl/posts/wordpress-php-gd-image-rotation-not-supported#:~:text=Turns%20out%20I%20was%20running,sure%20it's%20up%20to%20date.), but with the supported packages for alpine in my php.dockerfile by adding the commands, but it did not change anything.

php.dockerfile:

`

```auto
FROM php:7.4-fpm-alpine

RUN docker-php-ext-install mysqli pdo pdo_mysql && docker-php-ext-enable pdo_mysql

RUN apk update \
 && apk add \
    build-base \
    imagemagick \
	gd \

```

`

If you need the docker-compose.yml or anything else tell me. I am quite new to Docker, so maybe there is an easy fix, but I am to blind to see.

I have also thought about changing the linux distribution, if alpine does not support that kind of things. So please tell me, if you think this will not work.

Thanks in Advance!
