Make WordPress Core

Opened 9 years ago

Closed 9 years ago

#29468 closed defect (bug) (invalid)

Editing an images doesnt show image.

Reported by: jochemdu's profile jochemdu Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.9
Component: Media Keywords: dev-feedback
Focuses: Cc:


When i create a vanilla install of Wordpress and try to edit an image the image does not show in the editor.
Als when an image is uploaded it doesnt get the proper dimensions, only the original specs the image had when i uploaded it.
(Might be affected by this issue that images are not regenerated when using regen. thumbnails)

php 5.5.9-1ubuntu4.2
Apache 2.4.7
Ubuntu 14.04

Tested on the following Wordpress releases, all with default installation

Debugging on:
define('WP_DEBUG', true);
define('WP_DEBUG_LOG', true);
define('WP_DEBUG_DISPLAY', true);
define('SCRIPT_DEBUG', true);
define('SAVEQUERIES', true);

Nothing new is written to apache error log
Nothing is written to debug.log inside wp-content directory (did a chmod 777 just to be sure)

Please see getinfo() output for full specs.

Attachments (1)

phpinfo.htm (88.4 KB) - added by jochemdu 9 years ago.

Download all attachments as: .zip

Change History (4)

9 years ago


#1 in reply to: ↑ description @johnbillion
9 years ago

  • Keywords reporter-feedback added
  • Version changed from trunk to 3.9

Thanks for the report, jochemdu, and thanks for the server config details.

This is likely to be an issue with your server configuration and image handling. Do you have an image processing library installed, such as Imagick or GD? I couldn't see mention of either in your PHP info.

Replying to jochemdu:

Tested on the following Wordpress releases, all with default installation

Can you confirm which versions you meant here? I presume 4.9.2 should be 3.9.2. Is 4.9.3 meant to be 3.8.3? Just so we know when you first saw this issue. Thanks!

#2 @jochemdu
9 years ago

  • Keywords dev-feedback added; reporter-feedback removed


You are correct in both assumptions!
Version assumptions are correct (sorry it was late :))
And i had to install (after testing with a simple script) one of the image libraries, went for imagick.

if(extension_loaded('gd')) {
else {
echo 'GD is not available.';
if(extension_loaded('imagick')) {
$imagick = new Imagick();
else {
echo 'ImageMagick is not available.';

You can close the ticket since its an environment issue. Is there any test available that i can call to check for missing components? (Would be handy after an installation).

#3 @johnbillion
9 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

I was testing this locally and when I disabled GD and Imagick, the image in the image editor still showed up for me, but the 'Edit Image' button simply didn't show up. It sounds like we could improve this with an error message. I'll open a separate ticket for this.

Regarding checking missing extensions, there is WP Extension Check which is a stand-alone PHP script which will check the required and recommended extensions.

Note: See TracTickets for help on using tickets.