Skip to content

Instantly share code, notes, and snippets.

@cstrouse
Created January 16, 2016 22:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cstrouse/a0d4fc25a8dd98dccaf0 to your computer and use it in GitHub Desktop.
Save cstrouse/a0d4fc25a8dd98dccaf0 to your computer and use it in GitHub Desktop.
function change_graphic_lib($array) {
return array('WP_Image_Editor_GD', 'WP_Image_Editor_Imagick');
}
add_filter('wp_image_editors', 'change_graphic_lib');
@waldrupm
Copy link

Silly question, but I found your post but I have no idea where to put this snippet of code. TYVM by the way for adding a solution even though you gained nothing from it, much appreciated.

@cstrouse
Copy link
Author

Append it to the end of your functions.php file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment