Browse Source

add accept="image/*" to <input>

pull/13/head
lilydjwg 2 years ago
parent
commit
c57b7d8ced
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      templates/index.html

+ 1
- 1
templates/index.html View File

@@ -11,7 +11,7 @@ NAME
SYNOPSIS
curl -F 'name=@/path/to/image' {{ url }}

or upload via your browser: <form action="/" method="post" enctype="multipart/form-data" style="display: inline;"><input type="file" name="image" width="10" multiple/><input type="submit" value="Upload!"/></form>
or upload via your browser: <form action="/" method="post" enctype="multipart/form-data" style="display: inline;"><input type="file" name="image" width="10" multiple accept="image/*"/><input type="submit" value="Upload!"/></form>

DESCRIPTION
Paste image files with command line. You can give <u>-F</u> more times to paste


Loading…
Cancel
Save