<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
#c// ###################################################################
#c// Dropfloat theme for album
#c// Copyright 2005 Helmar Wieland <heldhelm@gmx.de> <http://helmar.dyndns.org/>
#c// License: Creative Commons Attribution-ShareAlike 2.5
#c//          http://creativecommons.org/licenses/by-sa/2.5/
#c// ###################################################################
<html xmlns='http://www.w3.org/1999/xhtml'>
<head>
<title><:=Path('album_name'):></title>
<meta http-equiv='content-type' content='text/html;charset=ISO-8859-1' />
<: Meta() :>//
<link rel='stylesheet' type='text/css' href='<:=Theme_URL():>/dropfloat.css' title='Dropfloat album style' />
<style type='text/css'>
<!--
div.shadow {
  background: url(<:=Theme_URL():>/shadow.gif) right bottom no-repeat;
}
div.corner_bl {
  background: url(<:=Theme_URL():>/corner_bl.gif) -16px 100% no-repeat;
}
div.corner_tr {
  background: url(<:=Theme_URL():>/corner_tr.gif) 100% -16px no-repeat;
}
div.navithumbs div.shadow:hover div.corner_bl {  /* move 2px right and down */
  background: url(<:=Theme_URL():>/corner_bl.gif) -18px 100% no-repeat;
}
div.navithumbs div.shadow:hover div.corner_tr {
  background: url(<:=Theme_URL():>/corner_tr.gif) 100% -18px no-repeat;
}
-->
</style>
</head>
<body>
<ul class='breadcrums'>
  <li><:=Parent_Albums(' </li><li>&raquo; '):></li>
  <li>&raquo; <:=Get($This_Image, 'name'):></li>
  <li class='up'><a href=<:=Back():>>Up</a></li>
</ul>
<:
print "<div class='navithumbs'>\n";
my $img = $This_Image;
my $counter = 7;
# reverse interation because of 'float-right' stacking
$img = Next($img, 1);
$img = Next($img, 1);
$img = Next($img, 1);
while ($counter) {
  print "<div class='dummy'><div class='shadow'><div class='corner_bl'><div class='corner_tr'>";
  print Get($img, 'href', 'image_page', 'image_page');
  print "<img src=", Get($img, 'URL', 'image_page', 'thumb'), " width='", Get($img, 'thumb', 'x') / 2, "' height='", Get($img, 'thumb', 'y') / 2, "' alt='", Get($img, 'alt'), "' title='", Get($img, 'name'), "' />";
  print "</a>";
  print "</div></div></div></div>\n";
  $img = Prev($img, 1);
  $counter--;
}
print "</div>\n";
print "<div class='image'>\n";
print "<div class='shadow'><div class='corner_bl'><div class='corner_tr'>\n";
print Get($This_Image, 'href', 'image_page', 'image');
print "<img src=", Get($This_Image, 'URL', 'image_page', 'image'), " width='", Get($This_Image, 'full', 'x'), "' height='", Get($This_Image, 'full', 'y'),"' alt='", Get($This_Image, 'alt'), "' /></a>\n";
print "</div></div></div>\n";
print "</div>";:>
<address>
<: Credit() :> on <:=scalar localtime:><br />
<span>Dropfloat album theme 0.3 by <a href='http://helmar.dyndns.org/'>Helmar Wieland</a></span>
</address>
</body>
</html>
