extract WPImageGetter to WordPress-Utils