Skip to content
This repository has been archived by the owner on Jul 4, 2018. It is now read-only.

give feedback when uploading wrong file for avatar #103

Open
kikipluche opened this issue Feb 8, 2017 · 1 comment
Open

give feedback when uploading wrong file for avatar #103

kikipluche opened this issue Feb 8, 2017 · 1 comment
Assignees
Milestone

Comments

@kikipluche
Copy link
Contributor

screen shot 2017-02-08 at 11 28 05

@kikipluche kikipluche added this to the terminal milestone Feb 8, 2017
@sponnet
Copy link
Contributor

sponnet commented Feb 9, 2017

I fixed this adding a accept="image/*" attribute to the upload. Then you can only select image file types. This is not watertight ( you could rename your excel to have a .jpg extension ) so if you deliberately upload a fake image file - it will still return an empty / black image, but it will avoid mistakes.

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

No branches or pull requests

2 participants