Skip to content

dnn-image-cropper accepts non-image files #775

@valadas

Description

@valadas

When using the link to upload an image instead of drag-drop or camera, the file browser that shows has . for the file filter. We need to limit that list of supported files to only files that can be directly handled in the browser.

I believe the list should be:

  • jpg
  • jpeg
  • gif
  • png
  • svg
  • webp
  • bmp

Which apparently is supported by most current broswers to be used on a canvas

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions