MediaUploader: explicitly support image/jpeg only
This commit is contained in:
parent
244af88a9a
commit
3f66fce262
@ -21,7 +21,8 @@ class MediaUploader extends SubTemplate
|
||||
<form action="', BASEURL, '/uploadmedia/?tag=', $this->tag->id_tag, '" method="post" enctype="multipart/form-data">
|
||||
<h2>Upload new photos to "', $this->tag->tag, '"</h2>
|
||||
<div class="input-group">
|
||||
<input class="form-control d-inline" type="file" id="upload_queue" name="uploads[]" multiple>
|
||||
<input class="form-control d-inline" type="file" id="upload_queue" name="uploads[]"
|
||||
accept="image/jpeg" multiple>
|
||||
<button class="btn btn-primary" name="save" id="photo_submit" type="submit">Upload the lot</button>
|
||||
</div>
|
||||
<div id="upload_preview_area">
|
||||
|
Loading…
Reference in New Issue
Block a user