made image preview 100%

This commit is contained in:
bill bittner 2017-06-23 14:07:17 -07:00
parent 00847b1c9a
commit 82e7dea830

View file

@ -5,7 +5,9 @@
<p>Drag and drop your file here, or choose your file below.</p> <p>Drag and drop your file here, or choose your file below.</p>
<input type="file" id="siofu_input" name="file" accept="video/*,image/*" onchange="previewAndStageFile(event.target.files[0])" enctype="multipart/form-data"/> <input type="file" id="siofu_input" name="file" accept="video/*,image/*" onchange="previewAndStageFile(event.target.files[0])" enctype="multipart/form-data"/>
</div> </div>
<img id="image-preview" src="" height="200" alt="Image preview..."/> <div class="image-preview-holder">
<img id="image-preview" src="" width="100%" alt="Image preview..."/>
</div>
</div> </div>
<div class="col-right"> <div class="col-right">
<textarea id="direct-link-holder" hidden="true">No URL yet</textarea> <textarea id="direct-link-holder" hidden="true">No URL yet</textarea>