[wp-trac] [WordPress Trac] #23424: WP_Image class for handling images from the media library

WordPress Trac noreply at wordpress.org
Fri Apr 4 18:20:31 UTC 2014


#23424: WP_Image class for handling images from the media library
--------------------------------------+------------------------------
 Reporter:  markoheijnen              |       Owner:
     Type:  enhancement               |      Status:  new
 Priority:  normal                    |   Milestone:  Awaiting Review
Component:  Media                     |     Version:  3.5
 Severity:  normal                    |  Resolution:
 Keywords:  needs-patch dev-feedback  |     Focuses:
--------------------------------------+------------------------------

Comment (by aaroncampbell):

 Just dropping by here to say that I had to use the `wp_get_image_editor(
 _load_image_to_edit_path( $attachment_id ) )` hack recently when trying to
 filter an image size to blur it.

 I'm not sure if the whole WP_Image thing is really necessary for this
 particular case (of needing `_load_image_to_edit_path()`) though. It seems
 like `WP_Image_Editor` could simply add a `load_image` method that uses
 `_load_image_to_edit_path()` and the already existing `load()`?

--
Ticket URL: <https://core.trac.wordpress.org/ticket/23424#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list