removed image_resize() and replaced with wp_get_image_editor()