Handle jpeg orientation in viewer

This commit is contained in:
Marc MAURICE 2015-04-03 19:50:52 +02:00
parent f71582d5eb
commit aac71576e1

View file

@ -3,17 +3,18 @@
<title> <?= IMAGES_DIR.$simpleImagePath ?> </title> <title> <?= IMAGES_DIR.$simpleImagePath ?> </title>
<style type="text/css"> <style type="text/css">
html, body { html, body {
height: 100%; height: 100%;
} }
body { body {
margin: 0; margin: 0;
text-align: center; text-align: center;
background: black; background: black;
color: white; color: white;
} }
#theimage { #theimage {
max-width: 100%; max-width: 100%;
max-height: 100%; max-height: 100%;
image-orientation: from-image;
} }
a { a {
color: white; color: white;