69 lines
1.4 KiB
Smarty
69 lines
1.4 KiB
Smarty
<!doctype html>
|
||
<html class="no-js" lang="cs">
|
||
<head>
|
||
<meta charset="utf-8">
|
||
<title></title>
|
||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||
<meta name="robots" content="noindex, nofollow">
|
||
|
||
<script src="/common/static/jquery/jquery.min.js"></script>
|
||
<script src="/static/js/jquery.reel.js"></script> {* todo minifikovat *}
|
||
|
||
<style>
|
||
|
||
body,
|
||
html {
|
||
padding: 0;
|
||
margin: 0;
|
||
height: 100%;
|
||
}
|
||
|
||
body {
|
||
background: white;
|
||
text-align: center;
|
||
}
|
||
|
||
.wrapper {
|
||
height: 100%;
|
||
}
|
||
|
||
.wrapper div {
|
||
margin: 0 auto;
|
||
height: 100%;
|
||
}
|
||
|
||
|
||
img {
|
||
display: block;
|
||
margin: 0 auto;
|
||
}
|
||
|
||
img.wide {
|
||
width: 100%!important;
|
||
height: auto!important;
|
||
}
|
||
|
||
img.tall {
|
||
height: 100%!important;
|
||
width: auto!important;
|
||
}
|
||
</style>
|
||
</head>
|
||
<body>
|
||
<div class="wrapper">
|
||
<img class="reel {if $dimensions.width/$dimensions.height > 1}wide{else}tall{/if}" style=""
|
||
data-entry="0.6"
|
||
data-clickfree="false"
|
||
data-area="body"
|
||
data-cw="true"
|
||
data-responsive="true"
|
||
data-timeout="0"
|
||
data-opening="1.67"
|
||
src="/{$ids[0]}"
|
||
width="{$dimensions.width}"
|
||
height="{$dimensions.height}"
|
||
data-images='{', '|join:$ids}'>
|
||
</div>
|
||
</body>
|
||
</html>
|