コード例 #1
0
ファイル: image.php プロジェクト: ariep/ZenPhoto20-DEV
    printCustomSizedImage(getAnnotatedImageTitle(), 550);
    ?>
</a><?php 
}
?>
				<?php 
if ($zpmin_finallink == 'standard-new') {
    ?>
<a target="_blank" href="<?php 
    echo html_encode(getFullImageURL());
    ?>
" title="<?php 
    echo html_encode(getBareImageTitle());
    ?>
"><?php 
    printCustomSizedImage(getAnnotatedImageTitle(), 550);
    ?>
</a><?php 
}
?>
			</div>
		</div>
		<?php 
if (function_exists('printAddToFavorites')) {
    echo '<div class="section">';
    printAddToFavorites($_zp_current_album);
    echo '</div>';
}
?>

		<?php 
コード例 #2
0
ファイル: album.php プロジェクト: rb26/zenphoto
            // reset to start with a again;
            break;
    }
    ?>
				<a class="image<?php 
    echo $imgclass;
    ?>
" href="<?php 
    echo html_encode(getImageURL());
    ?>
" title="<?php 
    printBareImageTitle();
    ?>
">
					<?php 
    printCustomSizedImage(getAnnotatedImageTitle(), NULL, 230, 230, 230, 230, NULL, NULL, NULL, NULL, true, NULL);
    ?>
				</a>
			<?php 
}
?>
		</div>
		<br class="clearall" />
		<?php 
if (hasPrevPage() || hasNextPage()) {
    printPageListWithNav(gettext("prev"), gettext("next"), false, true, 'pagelist', NULL, true, 7);
}
if (function_exists('printSlideShowLink')) {
    echo '<span id="slideshowlink">';
    printSlideShowLink();
    echo '</span>';
コード例 #3
0
<div class="image-wrap">
	<ul class="thumbnails">
		<?php 
while (next_image()) {
    ?>
			<li class="span3 image-thumb">
				<a class="thumbnail" rel="tooltip" href="<?php 
    echo html_encode(getImageURL());
    ?>
" title="<?php 
    echo html_encode(getBareImageTitle());
    ?>
">
					<?php 
    printImageThumb(getAnnotatedImageTitle(), 'remove-attributes');
    ?>
				</a>
			</li>
		<?php 
}
?>
	</ul>
	<script type="text/javascript">
		$('.thumbnail').tooltip({
			placement: 'bottom'
		});
	</script>
</div>
コード例 #4
0
ファイル: favorites.php プロジェクト: rauldobrota/zenphoto
					<br class="clearall">
					<div id="images">
						<?php 
    while (next_image()) {
        ?>
							<div class="image">
								<div class="imagethumb">
									<a href="<?php 
        echo html_encode(getImageURL());
        ?>
" title="<?php 
        printBareImageTitle();
        ?>
">
										<?php 
        printImageThumb(getAnnotatedImageTitle());
        ?>
									</a>
									<?php 
        printAddToFavorites($_zp_current_image, '', gettext('Remove'));
        ?>
								</div>
							</div>
							<?php 
    }
    ?>
					</div>
					<br class="clearall">
					<?php 
    @call_user_func('printSlideShowLink');
    printPageListWithNav("« " . gettext("prev"), gettext("next") . " »");
コード例 #5
0
ファイル: album.php プロジェクト: Imagenomad/Unsupported
					<div class="image-block" style="width:<?php 
    echo $zpmas_image_size;
    ?>
px;height:<?php 
    echo $zpmas_image_size;
    ?>
px;">
						<div class="back">
							<a class="thumb-link" href="<?php 
    echo html_encode(getImageURL());
    ?>
" title="<?php 
    echo getBareImageTitle();
    ?>
"><?php 
    printCustomSizedImage(getAnnotatedImageTitle(), null, $zpmas_image_size, $zpmas_image_size, $zpmas_image_size, $zpmas_image_size, null, null, null, null, true);
    ?>
</a>
						</div>
						<?php 
    if (!isImageVideo()) {
        ?>
						<div class="overlay">
							<a class="zpmas-cb" href="<?php 
        if ($zpmas_cbtarget) {
            echo htmlspecialchars(getDefaultSizedImage());
        } else {
            echo htmlspecialchars(getUnprotectedImageURL());
        }
        ?>
" title="<?php 
コード例 #6
0
function printAnnotatedImageTitle()
{
    echo html_encode(getAnnotatedImageTitle());
}
コード例 #7
0
ファイル: search.php プロジェクト: ItsHaden/epicLanBootstrap
        $firstImage = $lastImage;
    } else {
        $lastImage++;
    }
    if (isLandscape()) {
        $iw = 89;
        $ih = NULL;
        $cw = 89;
        $ch = 67;
    } else {
        $iw = NULL;
        $ih = 89;
        $ch = 89;
        $cw = 67;
    }
    echo "\n<li class=\"thumb\"><span><em style=\"background-image:url(" . htmlspecialchars($_zp_current_image->getCustomImage(NULL, $iw, $ih, $cw, $ch, NULL, NULL, true)) . '); "><a href="' . htmlspecialchars(getImageLinkURL()) . '" title="' . getAnnotatedImageTitle() . '" style="background:#fff;">"' . getImageTitle() . '"</a></em></span></li>';
}
if (!is_null($lastImage) && $lastImage < getNumImages()) {
    $np = getCurrentPage() + 1;
    ?>
			<li class="thumb"><span class="forward"><em style="background-image:url('<?php 
    echo $_zp_themeroot;
    ?>
/images/moreslide_next.gif');">
			<a href="<?php 
    echo htmlspecialchars(getPageURL($np, $np));
    ?>
" style="background:#fff;"><?php 
    echo gettext('Next page');
    ?>
</a></em></span></li>
コード例 #8
0
ファイル: album-masonry.php プロジェクト: BimbaLaszlo/zpbase
                printCustomSizedImage(getAnnotatedImageTitle(), getOption('thumb_size'), getOption('thumb_size'), getOption('thumb_size'), getOption('thumb_size'), getOption('thumb_size'), null, null, 'remove-attributes', null, true);
            } else {
                printImageThumb(getBareImageTitle(), 'remove-attributes');
            }
        } else {
            ?>
							<a href="<?php 
            echo html_encode(getImageURL());
            ?>
" title="<?php 
            printBareImageTitle();
            ?>
">
								<?php 
            if (getOption('thumb_crop')) {
                printCustomSizedImage(getAnnotatedImageTitle(), getOption('thumb_size'), getOption('thumb_size'), getOption('thumb_size'), getOption('thumb_size'), getOption('thumb_size'), null, null, 'remove-attributes', null, true);
            } else {
                printImageThumb(getBareImageTitle(), 'remove-attributes');
            }
            ?>
							</a>
							<?php 
        }
        ?>
							<?php 
        if (getOption('zpbase_magnific_masonry') || getOption('zpbase_nodetailpage')) {
            if (getOption('zpbase_magnific_target') == 'imagepage') {
                ?>
							<a class="masonry-image-popup" href="<?php 
                echo html_encode(getImageURL());
                ?>
コード例 #9
0
ファイル: search.php プロジェクト: Imagenomad/Unsupported
while (next_image()) {
    ?>
						<li class="grid_5">
							<a href="<?php 
    echo html_encode(getImageURL());
    ?>
" title="<?php 
    echo getAnnotatedImageTitle();
    ?>
">
								<?php 
    printCustomSizedImage(getAnnotatedImageTitle(), NULL, 376, 140, 376, 140, NULL, NULL, NULL, NULL, true, NULL);
    ?>
							</a>
							<span><?php 
    echo getAnnotatedImageTitle();
    ?>
</span>
						</li>
						<?php 
}
?>
					</ul>
				</div>
				<div class="clear"></div>
				<?php 
printPageListWithNav("« " . gettext("prev"), gettext("next") . " »", false, true, 'pagelist', null, true, 5);
?>
			</div>
			<div id="footer" class="grid_15">
				<?php 
コード例 #10
0
ファイル: image.php プロジェクト: ariep/ZenPhoto20-DEV
    ?>
"><?php 
    printDefaultSizedImage(getAnnotatedImageTitle());
    ?>
</a><?php 
}
if ($zpmas_finallink == 'standard-new') {
    ?>
<a target="_blank" href="<?php 
    echo html_encode(getFullImageURL());
    ?>
" title="<?php 
    echo html_encode(getBareImageTitle());
    ?>
"><?php 
    printDefaultSizedImage(getAnnotatedImageTitle());
    ?>
</a><?php 
}
?>
			</div>
		</div>
		<?php 
if (function_exists('printThumbNav')) {
    ?>
			<div class="post"><?php 
    printThumbNav(3, NULL, 108, 108, 108, 108);
    ?>
</div>
		<?php 
} else {
コード例 #11
0
ファイル: album.php プロジェクト: hatone/zenphoto-1.4.1.4
        $firstImage = $lastImage;
    } else {
        $lastImage++;
    }
    if (isLandscape()) {
        $iw = 89;
        $ih = NULL;
        $cw = 89;
        $ch = 67;
    } else {
        $iw = NULL;
        $ih = 89;
        $ch = 89;
        $cw = 67;
    }
    echo '<li class="thumb"><span><em style="background-image:url(' . html_encode($_zp_current_image->getCustomImage(NULL, $iw, $ih, $cw, $ch, NULL, NULL, true)) . '); "><a href="' . html_encode(getImageLinkURL()) . '" title="' . getAnnotatedImageTitle() . '" style="background:#fff;">"' . getImageTitle() . '"</a></em></span></li>';
}
if (!is_null($lastImage) && $lastImage < getNumImages()) {
    $np = getCurrentPage() + 1;
    ?>
			<li class="thumb"><span class="forward"><em style="background-image:url('<?php 
    echo $_zp_themeroot;
    ?>
/images/moreslide_next.gif');">
			<a href="<?php 
    echo html_encode(getPageURL($np, $np));
    ?>
" style="background:#fff;"><?php 
    echo gettext('Next page');
    ?>
</a></em></span></li>