Handle jpeg orientation in viewer
This commit is contained in:
parent
f71582d5eb
commit
aac71576e1
1 changed files with 8 additions and 7 deletions
|
@ -3,17 +3,18 @@
|
|||
<title> <?= IMAGES_DIR.$simpleImagePath ?> </title>
|
||||
<style type="text/css">
|
||||
html, body {
|
||||
height: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
body {
|
||||
margin: 0;
|
||||
text-align: center;
|
||||
background: black;
|
||||
color: white;
|
||||
margin: 0;
|
||||
text-align: center;
|
||||
background: black;
|
||||
color: white;
|
||||
}
|
||||
#theimage {
|
||||
max-width: 100%;
|
||||
max-height: 100%;
|
||||
max-width: 100%;
|
||||
max-height: 100%;
|
||||
image-orientation: from-image;
|
||||
}
|
||||
a {
|
||||
color: white;
|
||||
|
|
Loading…
Reference in a new issue