Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

WordPress

Jitendra Vyas
Jitendra Vyas
2,349 Points

Unable to create new image” error in wordpress dashboard image editor

My server is nginx and wordpress version is 3.8.1. I can upload images but when I try to edit the image (scale, crop) it gives below error and doesn't show picture.

I have tried with 400kb to 1mb picture both has same problem.

I found on internet that it can happen because of GD library is not available. I have installed GD library but still getting same error. Also tried this solution http://wordpress.stackexchange.com/questions/1597/wordpress-image-editor-not-working-conflict but no luck.

I have de-activated all plugins but problem is still there

I have changed theme to wordpress default theme, but still problem is there.

here is the video of the problem https://www.dropbox.com/s/87vitm2k00lbg84/2014-03-20%2016h26_35.mp4

Can anyone help me?

4 Answers

Frustrating when the error message is so generic! The first thing I'd check is whether the directory where the image is created is writable.

Jitendra Vyas
Jitendra Vyas
2,349 Points

Directory is writable because images are already uploaded to same directory

Are you able to both upload and delete images through the editor?

Matt Campbell
Matt Campbell
9,767 Points

Set permissions to 777 on upload directory for testing purposes.

If no joy then it's going to be server related and you need to look into the configuration you have.