[wp-trac] [WordPress Trac] #49096: Allow updating attachments with new files

WordPress Trac noreply at wordpress.org
Fri Jan 3 16:37:03 UTC 2020


#49096: Allow updating attachments with new files
-------------------------+------------------------------
 Reporter:  joehoyle     |       Owner:  (none)
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  REST API     |     Version:
 Severity:  normal       |  Resolution:
 Keywords:               |     Focuses:  rest-api
-------------------------+------------------------------

Comment (by joehoyle):

 Yeah, I was thinking about a transformation API, but I think that would be
 very limiting and not that worth doing. By allowing a blob upload, REST
 API clients can do whatever transformation / filters they want - allowing
 crop etc as transforms would be mostly a dead end IMO. I think even today
 if you were to implement this in the admin, you'd actually want to post a
 blob back, and do all transformation in JavaScript, say on a `<canvas>`.

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


More information about the wp-trac mailing list