Skip to content

Opening SVG media from media picker doesn't show preview #20596

@bjarnef

Description

@bjarnef

Which Umbraco version are you using?

16.3.1

Bug summary

It seeems when I open a SVG media from Media Picker, the preview is just blank.

Looks like at issue with how umb-file-upload-preview render preview of SVG.

Image Image

It looks correct in media section itself (here via infinite editing).

Image

In Umbraco 13 it looked something like this (looks better if the SVG image itself doesn't contain width/height attributes):

Image

Specifics

No response

Steps to reproduce

Open selected SVG media preview from media picker.

Expected result / actual result

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions