projects
/
bizou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
f71582d
)
Handle jpeg orientation in viewer
author
Marc MAURICE
<marc-bizou@pub.positon.org>
Fri, 3 Apr 2015 17:50:52 +0000
(19:50 +0200)
committer
Marc MAURICE
<marc-bizou@pub.positon.org>
Fri, 3 Apr 2015 17:50:52 +0000
(19:50 +0200)
plugins/viewer/template.php
patch
|
blob
|
history
diff --git
a/plugins/viewer/template.php
b/plugins/viewer/template.php
index
fe75c40
..
03c88d3
100644
(file)
--- a/
plugins/viewer/template.php
+++ b/
plugins/viewer/template.php
@@
-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;