• New WP 4.4.1 installation ; PHP 5.4.1 , CentOS Linux release 7.2
    I noticed that in my media-lib, I see a the thumbs just fine. Clickin on one I can now see the image larger with info on the right hand size. Clicking on the ‘Edit Image’ I get to the popup name “Attachment Details” in now the image is broken with alt visible as ‘image preview’

    moreover; Clicking on ‘flit vertical/Horizental’ output: Could not load the preview image…
    trying the scale image, output: Unable to create new Image.

    All files/directory own by ‘Apache’ user. I tried with the 3 supplied theme (2014,15,16)
    I read other similar question when they mention function.php with or with out the last closing ‘?>’. so far – try to see if this will help but no, still broken image.

    The issue (I beleive) is that my PHP missing the GD package:
    # yum list installed | grep php
    php.x86_64 5.4.16-36.el7_1 @base
    php-cli.x86_64 5.4.16-36.el7_1 @base
    php-common.x86_64 5.4.16-36.el7_1 @base
    php-mysqlnd.x86_64 5.4.16-36.el7_1 @base
    php-pdo.x86_64 5.4.16-36.el7_1 @base

    If you are on CentOS, can you run the same command to see what packages you have or need. so I can yum install them too. Am I in the right direction to resolve this issue?

Viewing 2 replies - 1 through 2 (of 2 total)
  • I have the same problem and can’t find a solution.
    So I wait for some helpful answers as well

    WP 4.4.1 / PHP 5.6

    Thread Starter shprung

    (@shprung)

    In my case, like I suspected it was the missing GD lib. After installation; ie
    # yum list installed | grep php-gd
    php-gd.x86_64 5.4.16-36.el7_1 @base

    I can see the image when in ‘Edit Image’ just fine.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘media-lib 'Edit Image'- image is broken; probably PHP missing pkg’ is closed to new replies.