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

Anthony Hind
Anthony Hind
5,715 Points

Wordpress image Editor Problem!!!

Hi Guys,

Working within my Website and when I try to edit an image within WordPress Image editor

The error message that I am getting is

Could not load the preview image. Please reload the page and try again.

Has anybody experienced this error before?

I am using a custom Child theme Using Woo themes Canvas as the parent.

Thanks

3 Answers

Hey Anthony, not sure if you've already tried any of this.

  1. Try re-uploading wp-config as UTF-8 without BOM.

    <?php function(){ ... } ?>  // No spaces between empty PHP tags.
    <?php function(){ ... } ?>
    

Anthony, I'm not entirely sure. Sometimes it could be you don't have enough memory on the server. I prefer to use an actual application for image editing. In my experience, to get the best experience out of WordPress, you need some good hosting. Not only that, but the host has to be specifically configured to make WordPress work its best. I can recommend a DigitalOcean droplet (at least 10 GB), Media Temple's WordPress hosting, or maybe even WPEngine. Those are the ones I'm more familiar with.

Anthony Hind
Anthony Hind
5,715 Points

Hi Dustin,

Thanks for your advice I use an application myself but i was just testing all the WordPress functions as if I was a client and this was the only issue I came across unfortunately its proving to be a tough one to crack i thought it may have been an issue with my custom functions.php file.