if the uploaded file is an image mime type, display it

This commit is contained in:
El RIDO
2015-09-18 21:41:50 +02:00
parent 50075ea948
commit 39e865ca64
6 changed files with 35 additions and 6 deletions

View File

@@ -96,6 +96,11 @@ h3.title {
font-family: Consolas, "Lucida Console", "DejaVu Sans Mono", Monaco, monospace;
}
#image img {
max-width: 100%;
height: auto;
}
#status {
clear: both;
padding: 5px 10px;
@@ -236,7 +241,7 @@ input {
font-weight: bold !important;
}
.nonworking {
#image, .nonworking {
background-color: #fff;
color: #000;
width: 100%;
@@ -246,7 +251,7 @@ input {
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
padding: 5px;
padding: 5px 0;
}
.hidden { display: none !important; }