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

Panel: Images accepts all files #12

Closed
jenstornell opened this issue Oct 31, 2017 · 2 comments
Closed

Panel: Images accepts all files #12

jenstornell opened this issue Oct 31, 2017 · 2 comments
Milestone

Comments

@jenstornell
Copy link

On Project A we have an image field. It accepts all kinds of files, but it should only accept images? It's probably just a blueprint option?

@bastianallgeier
Copy link
Member

This is definitely a missing feature so far in Alpha 1. We will introduce file validation/acceptance soon, so you can setup in the blueprint which types of files are being accepted, how big they may be and even the dimensions can be checked.

@bastianallgeier bastianallgeier added this to the Alpha 3 milestone Oct 31, 2017
@distantnative distantnative modified the milestones: Alpha 3, Alpha Feb 20, 2018
@bastianallgeier
Copy link
Member

The accepted files can now be setup in files sections like this:

type: files
query: page.images
accept: image/*

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

No branches or pull requests

3 participants