Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle adding customizable accept types #104

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

andrewfoghel
Copy link

Description

This PR handles adding customizable image accept types. There are many applications where specific image types must be excluded/limited.

By including a parameter on options we can effectively pump in this corresponding data; however, this still has the need to be constricted to actual image types. Although this could be by passed by something along the lines of

accept: "image/* video/* ..."

There is a clear UI indication being that other specified types won't render correctly, and it is also important to note that this parameter is optional. So although this might take away from the optimal path of this library, it opens up customization for those who need it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant