Example #1
0
$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) {
    ?>
Example #2
0
?>
</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');
        ?>
">&laquo; <?php 
        echo gettext("prev");
        ?>