$ls = isLandscape(); setOption('image_size', 480, false); $w = getDefaultWidth(); $h = getDefaultHeight(); if ($ls) { $wide = ''; } else { $wide = "style=\"width:" . ($w + 22) . "px;\""; } ?> <div class="main" <?php echo $wide; ?> > <?php if ($show = !checkForPassword()) { ?> <p id="photo"> <strong> <?php printCustomSizedImage(getImageTitle(), null, $ls ? 480 : null, $ls ? null : 480); ?> </strong> </p> <?php } ?> </div> <?php if ($show) { ?>
?> </a> | <?php printParentBreadcrumb(); printAlbumBreadcrumb("", " | "); ?> </span> <?php printImageTitle(true); ?> </h2> </div> <hr /> <!-- The Image --> <?php if (!checkForPassword()) { ?> <div class="image"> <div class="imgnav"> <?php if (hasPrevImage()) { ?> <a class="prev" href="<?php echo htmlspecialchars(getPrevImageURL()); ?> " title="<?php echo gettext('Previous Image'); ?> ">« <?php echo gettext("prev"); ?>