[wp-trac] [WordPress Trac] #19695: Links widget does not generate width or height attributes when showing an image

WordPress Trac wp-trac at lists.automattic.com
Fri Dec 30 07:37:41 UTC 2011


#19695: Links widget does not generate width or height attributes when showing an
image
--------------------------------------+------------------------------
 Reporter:  mbijon                    |       Owner:
     Type:  defect (bug)              |      Status:  new
 Priority:  normal                    |   Milestone:  Awaiting Review
Component:  Widgets                   |     Version:  3.3
 Severity:  normal                    |  Resolution:
 Keywords:  dev-feedback 2nd-opinion  |
--------------------------------------+------------------------------

Comment (by mbijon):

 I don't like that my method relies on {{{getimagesize()}}} and URL-based
 images that Links has. {{{getimagesize()}}} is used elsewhere in WP, but
 usually with a path to the image instead of the URL.

 Would it be better to enhance the edit page for Links, instead of my
 method in {{{_walk_bookmarks()}}} ? This URL method increases roundtrips
 when the images are hosted remotely.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/19695#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list