Panel View improvements

This commit is contained in:
Paweł Jastrzębski
2013-12-30 18:39:53 +01:00
parent 7656a85708
commit 6bdb0ab942
2 changed files with 38 additions and 21 deletions
+5 -1
View File
@@ -52,6 +52,10 @@ def buildHTML(path, imgfile):
rotatedPage = True
else:
rotatedPage = False
if "_kccnpv" in str(filename):
noPV = True
else:
noPV = False
if "_kccnh" in str(filename):
noHorizontalPV = True
else:
@@ -89,7 +93,7 @@ def buildHTML(path, imgfile):
"<div><img src=\"", "../" * backref, "Images/", postfix, imgfile, "\" alt=\"",
imgfile, "\" class=\"singlePage\"/></div>\n"
])
if options.panelview:
if options.panelview and not noPV:
if not noHorizontalPV and not noVerticalPV:
if rotatedPage:
if options.righttoleft: