[wp-trac] [WordPress Trac] #32417: Add new core widget: image widget

WordPress Trac noreply at wordpress.org
Sat May 30 02:38:47 UTC 2015


#32417: Add new core widget: image widget
------------------------------------------+--------------------------------
 Reporter:  melchoyce                     |       Owner:  wonderboymusic
     Type:  feature request               |      Status:  assigned
 Priority:  normal                        |   Milestone:  4.3
Component:  Widgets                       |     Version:  trunk
 Severity:  normal                        |  Resolution:
 Keywords:  needs-patch needs-unit-tests  |     Focuses:  ui,
                                          |  administration
------------------------------------------+--------------------------------

Comment (by celloexpressions):

 `WP_Customize_Media_Control` would be a good basis in terms of code if we
 want to roll our own. We can very easily handle images, audio, video, and
 even documents (uploads ranging from PDFs to any other formats the site
 supports). Shortcodes would definitely be out of scope, along with
 galleries, external embeds, etc. although widgets could potentially be
 created for those as well. We should only save one field - the attachment
 id - and leverage the data associated with the attachment as much as
 possible. Could potentially make title and caption optional or have auto-
 populating fields for them but I wouldn't go any further than that. Alt
 text for images could be taken from the attachment rather than doing
 additional UI in the widget.

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


More information about the wp-trac mailing list