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

WordPress Trac noreply at wordpress.org
Tue Nov 26 13:29:45 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        |  Resolution:
 Keywords:  needs-patch   |     Focuses:
--------------------------+------------------------------

Comment (by timsinclair):

 Nope, looks like it's working for you, but isn't working for me. I did
 notice that the SVG in your media library has a size associated with it
 (in your case, 800 x 800 pixels), however, my svg files do not show a
 default size/dimension. Could there be something about the SVG file itself
 and not having a size associated with it in the media library? I'm going
 to look into this further. Is there any chance you can post the code from
 your hotel svg file so I can test your svg and review the differences to
 mine?

 Either way, as I stated before, this entire problem doesn't exist with WP
 6.6 even with the exact same svg file, so I still think something has
 changed in core that is different from before.

 Replying to [comment:6 rinkalpagdar]:
 > Hello @timsinclair
 > I have added screencast here. Please let me know am i missing anything
 here?

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


More information about the wp-trac mailing list