[wp-trac] [WordPress Trac] #62530: Inline SVG Images Cannot Be Sized

WordPress Trac noreply at wordpress.org
Fri Nov 22 15:04:09 UTC 2024


#62530: Inline SVG Images Cannot Be Sized
--------------------------+-----------------------------
 Reporter:  timsinclair   |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Media         |    Version:  6.7.1
 Severity:  normal        |   Keywords:  needs-patch
  Focuses:                |
--------------------------+-----------------------------
 When inserting an svg file as an inline image, the size option does not
 get applied to the image tag. The alt text setting works fine, but the
 inline width style does not get added. Everything works fine for "normal"
 images (jpg, png, etc). This did work on SVGs at one point, but no longer
 does.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/62530>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list