[wp-trac] [WordPress Trac] #47091: REST get wp/v2/media sizes to include add_image_size()
WordPress Trac
noreply at wordpress.org
Wed May 1 15:42:45 UTC 2019
#47091: REST get wp/v2/media sizes to include add_image_size()
-------------------------+-----------------------------
Reporter: shaneyu | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Media | Version:
Severity: normal | Keywords:
Focuses: |
-------------------------+-----------------------------
Media returned from the API returns as sizes attribute.
These sizes are only the default sizes from wordpress. Sizes added via
add_image_size() are not available.
This would be a great feature for wordpress, allowing users to upload an
image once, do all the cropping there, and insert that image in the ways
that they want through gutenberg. The current experience is broken up due
to the need to do production work outside of gutenberg.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/47091>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list