dotnetcore/BootstrapBlazor

bug(CardUpload): not support some image

Closed this issue · 2 comments

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

webp格式不能显示。

如下图,图片不展示 image

这是全部代码

<CardUpload DefaultFileList="@uploadFiles" TValue="UploadFile"></CardUpload>
@code{
    List<UploadFile> uploadFiles = new List<UploadFile>()
    {
        new UploadFile
        {
            PrevUrl="https://dl.flathub.org/repo/screenshots/org.mozilla.firefox-stable/1248x702/org.mozilla.firefox-c6f98b38b8b28b113a75a6b34037b759.webp"
        },
        new UploadFile
        {
            PrevUrl="https://dl.flathub.org/media/com/discordapp/Discord.desktop/65bfe7c7c078e167ced5648ffde69594/screenshots/image-3_624x392@1.webp"
        }
    };



}

附件为示例程序

BootstrapBlazorApp2.zip

Expected Behavior

No response

Steps To Reproduce

No response

Exceptions (if any)

No response

.NET Version

No response

Anything else?

No response

@Witchie Thank you for filing this issue. In order for us to investigate this issue, please provide a minimalistic repro project that illustrates the problem.

该图片 直接在浏览器里面打开是可以访问的