Opened 10 years ago
Closed 10 years ago
#29468 closed defect (bug) (invalid)
Editing an images doesnt show image.
Reported by: | jochemdu | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 3.9 |
Component: | Media | Keywords: | dev-feedback |
Focuses: | Cc: |
Description
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)
Specs:
php 5.5.9-1ubuntu4.2
Apache 2.4.7
Ubuntu 14.04
Tested on the following Wordpress releases, all with default installation
4.0-rc1
4.0-beta2
4.9.3
4.9.2
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.
http://pastebin.com/KfrR9eNV
Attachments (1)
Change History (4)
#1
in reply to:
↑ description
@
10 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
4.0-rc1
4.0-beta2
4.9.3
4.9.2
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
@
10 years ago
- Keywords dev-feedback added; reporter-feedback removed
HI,
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')) {
print_r(gd_info());
}
else {
echo 'GD is not available.';
}
if(extension_loaded('imagick')) {
$imagick = new Imagick();
print_r($imagick->queryFormats());
}
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
@
10 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.
phpinfo