[wp-trac] [WordPress Trac] #46777: Pass attachment ID to image_resize_dimensions to allow reliable per image cropping

WordPress Trac noreply at wordpress.org
Fri Apr 12 16:49:51 UTC 2019


#46777: Pass attachment ID to image_resize_dimensions to allow reliable per image
cropping
-------------------------+------------------------------
 Reporter:  arkimedia    |       Owner:  (none)
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Media        |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:  administration
-------------------------+------------------------------
Changes (by joemcgill):

 * version:  trunk =>


Comment:

 Thanks for the suggestion and patch, @arkimedia.

 I'm curious what some of the use cases are for wanting to modify this
 behavior based on specific images and if some of those use cases would be
 better served by creating subclasses of the image editors themselves?

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


More information about the wp-trac mailing list