当前位置: 首页>>代码示例>>PHP>>正文


PHP printCustomAlbumThumbImage函数代码示例

本文整理汇总了PHP中printCustomAlbumThumbImage函数的典型用法代码示例。如果您正苦于以下问题:PHP printCustomAlbumThumbImage函数的具体用法?PHP printCustomAlbumThumbImage怎么用?PHP printCustomAlbumThumbImage使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了printCustomAlbumThumbImage函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: while

						<?php 
while (next_album()) {
    ?>
						<div class="album-maxspace">
							<a class="thumb-link" href="<?php 
    echo html_encode(getAlbumURL());
    ?>
" title="<?php 
    echo getNumAlbums() . ' ' . gettext('subalbums') . ' / ' . getNumImages() . ' ' . gettext('images') . ' - ' . strip_tags(shortenContent(getBareAlbumDesc(), 300, '...'));
    ?>
">
								<?php 
    if ($zpmin_thumb_crop) {
        printCustomAlbumThumbImage(getAnnotatedAlbumTitle(), null, $zpmin_album_thumb_size, $zpmin_album_thumb_size, $zpmin_album_thumb_size, $zpmin_album_thumb_size);
    } else {
        printCustomAlbumThumbImage(getAnnotatedAlbumTitle(), $zpmin_album_thumb_size);
    }
    ?>
								<span class="album-title"><?php 
    echo shortenContent(getBareAlbumTitle(), 25, '...');
    ?>
</span>
							</a>
						</div>
						<?php 
}
?>
					</div>
					<div id="thumbs-wrap">
						<?php 
while (next_image()) {
开发者ID:Imagenomad,项目名称:Unsupported,代码行数:31,代码来源:album.php

示例2: htmlspecialchars

</a></h4>
				<a class="thumb" href="<?php 
        echo htmlspecialchars(getAlbumURL());
        ?>
" title="<?php 
        echo gettext('View SubAlbum:');
        ?>
 <?php 
        echo getBareAlbumTitle();
        ?>
">
					<?php 
        if (isLandscape()) {
            printCustomAlbumThumbImage(getBareAlbumTitle(), null, 160, 120, 160, 120);
        } else {
            printCustomAlbumThumbImage(getBareAlbumTitle(), null, 120, 160, 120, 160);
        }
        ?>
				</a>
				<span class="front-date"><?php 
        printAlbumDate();
        ?>
</span>
				<p class="front-desc">
					<?php 
        echo shortenContent(getAlbumDesc(), 175, '...');
        ?>
					<a href="<?php 
        echo htmlspecialchars(getAlbumURL());
        ?>
" title="<?php 
开发者ID:kokyandrei,项目名称:Unsupported,代码行数:31,代码来源:album.php

示例3: printCustomAlbumThumbMaxSpace

/**
 * Prints a un-cropped custom sized album thumb within the given height and width dimensions.
 * Note: a class of 'not_visible' or 'password_protected' will be added as appropriate
 *
 * @param string $alt Alt text for the url
 * @param int $width width
 * @param int $height height
 * @param string $class Optional style class
 * @param string $id Optional style id
 * @param bool $thumbStandin set to true to treat as thumbnail
 */
function printCustomAlbumThumbMaxSpace($alt, $width, $height, $class = NULL, $id = NULL)
{
    global $_zp_current_album;
    $albumthumb = $_zp_current_album->getAlbumThumbImage();
    getMaxSpaceContainer($width, $height, $albumthumb, true);
    printCustomAlbumThumbImage($alt, NULL, $width, $height, NULL, NULL, NULL, NULL, $class, $id);
}
开发者ID:IliyanGochev,项目名称:zenphoto,代码行数:18,代码来源:template-functions.php

示例4: while

				<div id="makeMeScrollable">
					<?php 
if (getOption('zpbase_galhomeop') == 'albums') {
    // latest albums
    while (next_album($showall)) {
        ?>
					<div class="sdscroll-item">
						<a class="album-thumb" href="<?php 
        echo html_encode(getAlbumURL());
        ?>
" title="<?php 
        printAlbumTitle();
        ?>
">
							<?php 
        printCustomAlbumThumbImage(getBareAlbumTitle(), null, null, getOption('zpbase_sds_maxheight'), null, null, null, null, 'remove-attributes');
        ?>
						</a>
						<div class="sdscroll-albuminfo">
							<h3><?php 
        printAlbumTitle();
        ?>
</h3>
							<p class="album-desc"><?php 
        echo strip_tags(truncate_string(getAlbumDesc(), 140, '...'));
        ?>
</p>
							<div class="album-stats">
								<?php 
        if (getNumAlbums() > 0 && getNumImages() > 0) {
            $divider = '- ';
开发者ID:BimbaLaszlo,项目名称:zpbase,代码行数:31,代码来源:index-sdscroll.php

示例5: html_encode

					<h6><?php 
        echo html_encode(getBareAlbumTitle());
        ?>
</h6>
					<a href="<?php 
        echo html_encode(getAlbumURL());
        ?>
" title="<?php 
        echo gettext('View album:');
        ?>
 <?php 
        echo html_encode(getBareAlbumTitle());
        ?>
">
		<?php 
        printCustomAlbumThumbImage(getBareAlbumTitle(), null, 420, 200, 420, 200, null, null, 'remove-attributes');
        ?>
					</a>
					<div class="album-meta">
						<ul class="taglist">
							<li class="meta-date"><?php 
        printAlbumDate("");
        ?>
</li>
							<li class="meta-contents">
								<?php 
        if (getNumAlbums() > 0 && getNumImages() > 0) {
            $divider = '- ';
        } else {
            $divider = '';
        }
开发者ID:ariep,项目名称:ZenPhoto20-DEV,代码行数:31,代码来源:search.php

示例6: while

				</div>
				<div class="suffix_5">
					<ul class="gallery">
						<?php 
while (next_album()) {
    ?>
						<li class="grid_5">
							<a href="<?php 
    echo html_encode(getAlbumURL());
    ?>
" title="<?php 
    echo getAnnotatedAlbumTitle();
    ?>
">
								<?php 
    printCustomAlbumThumbImage(getAnnotatedAlbumTitle(), NULL, 376, 140, 376, 140, NULL, null, NULL, NULL);
    ?>
							</a>
							<span class="title">
								<?php 
    echo getAnnotatedAlbumTitle();
    ?>
 
								<span class="italic">
									[<?php 
    printf(ngettext('%u image', '%u images', getNumImages()), getNumImages());
    ?>
]
								</span><br />
								<?php 
    echo getAlbumDate("(%d/%m/%Y)");
开发者ID:Imagenomad,项目名称:Unsupported,代码行数:31,代码来源:search.php

示例7: html_encode

					<div class="image-block" style="width:<?php 
    echo $zpmas_album_size_w;
    ?>
px;height:<?php 
    echo $zpmas_album_size_h;
    ?>
px;">
						<a class="thumb-link" href="<?php 
    echo html_encode(getAlbumURL());
    ?>
" title="<?php 
    echo getAnnotatedAlbumTitle();
    ?>
">
							<?php 
    printCustomAlbumThumbImage(getAnnotatedAlbumTitle(), null, $zpmas_album_size_w, $zpmas_album_size_h, $zpmas_album_size_w, $zpmas_album_size_h);
    ?>
						</a>
					</div>
					<?php 
    $singletag = getTags();
    $tagstring = implode(', ', $singletag);
    ?>
					<ul class="album-info">
						<li class="counts <?php 
    if ($zpmas_thumbsize == 'small' && getNumAlbums() > 0) {
        echo 'smallthumbs';
    }
    ?>
">
							<?php 
开发者ID:Imagenomad,项目名称:Unsupported,代码行数:31,代码来源:album.php

示例8: setOption

?>
									<div id="albums">
										<?php 
setOption('albums_per_page', 12, false);
while (next_album()) {
    ?>
											<div class="album">
												<a class="albumthumb" href="<?php 
    echo getAlbumURL();
    ?>
" title="<?php 
    printf(gettext('View album:  %s'), getBareAlbumTitle());
    ?>
">
													<?php 
    printCustomAlbumThumbImage(getAlbumTitle(), 85, NULL, NULL, 85, 85);
    ?>
												</a>
												<div class="albumdesc">
													<h3>
														<a href="<?php 
    echo getAlbumURL();
    ?>
" title="<?php 
    printf(gettext('View album:  %s'), getBareAlbumTitle());
    ?>
">
															<?php 
    printAlbumTitle();
    ?>
														</a>
开发者ID:rb26,项目名称:zenphoto,代码行数:31,代码来源:gallery.php

示例9: printAlbumTitle

					<div class="masonry-style-item album">
						<div class="masonry-style-padding">
							<h3><?php 
            printAlbumTitle();
            ?>
</h3>
							<a class="album-thumb" href="<?php 
            echo html_encode(getAlbumURL());
            ?>
" title="<?php 
            printAlbumTitle();
            ?>
">
								<?php 
            if (getOption('thumb_crop')) {
                printCustomAlbumThumbImage(getAnnotatedAlbumTitle(), getOption('thumb_size'), getOption('thumb_size'), getOption('thumb_size'), getOption('thumb_size'), getOption('thumb_size'), null, null, 'remove-attributes');
            } else {
                printAlbumThumbImage(getAnnotatedAlbumTitle(), 'remove-attributes');
            }
            ?>
							</a>
							<p class="album-desc"><?php 
            echo strip_tags(truncate_string(getAlbumDesc(), 140, '...'));
            ?>
</p>
							<div class="album-stats">
								<?php 
            if (getNumAlbums() > 0 && getNumImages() > 0) {
                $divider = '- ';
            } else {
                $divider = '';
开发者ID:BimbaLaszlo,项目名称:zpbase,代码行数:31,代码来源:album-masonry.php

示例10: while

while (next_album()) {
    if ($first) {
        echo '<div class="galleries">';
        echo "\n<h2></h2>\n<ul>\n";
        $first = false;
    }
    ?>
				<li class="gal">
					<a href="<?php 
    echo htmlspecialchars(getAlbumLinkURL());
    ?>
" title="<?php 
    printf(gettext('View album: %s'), getAnnotatedAlbumTitle());
    ?>
" class="img"><?php 
    printCustomAlbumThumbImage(getAnnotatedAlbumTitle(), null, 210, null, 210, 60);
    ?>
</a>
					<h3><a href="<?php 
    echo htmlspecialchars(getAlbumLinkURL());
    ?>
" title="<?php 
    printf(gettext('View album: %s'), getAnnotatedAlbumTitle());
    ?>
"><?php 
    printAlbumTitle();
    ?>
</a></h3>
					<p>
						<?php 
    $anumber = getNumSubalbums();
开发者ID:ItsHaden,项目名称:epicLanBootstrap,代码行数:31,代码来源:search.php

示例11: while

				<ul class="list-inline">
					<?php 
while (next_album()) {
    ?>
						<li class="thumbnail">
							<a href="<?php 
    echo html_encode(getAlbumURL());
    ?>
" title="<?php 
    echo gettext('View album:');
    ?>
 <?php 
    getBareAlbumTitle();
    ?>
"><?php 
    printCustomAlbumThumbImage(getBareAlbumTitle(), "", 240, "", 240, 160);
    ?>
</a>
							<h4><a href="<?php 
    echo html_encode(getAlbumURL());
    ?>
" title="<?php 
    echo gettext('View album:');
    ?>
 <?php 
    printBareAlbumTitle();
    ?>
"><?php 
    printAlbumTitle();
    ?>
</a></h4>
开发者ID:bgenere,项目名称:negpos,代码行数:31,代码来源:album.php

示例12: printf

    ?>
" title="<?php 
    printf(gettext("View album: %s"), getAnnotatedAlbumTitle());
    ?>
"><?php 
    printAlbumTitle();
    ?>
</a></h3>
							<a href="<?php 
    echo html_encode(getAlbumLinkURL());
    ?>
" title="<?php 
    printf(gettext("View album: %s"), getAnnotatedAlbumTitle());
    ?>
" class="img"><?php 
    printCustomAlbumThumbImage(getAnnotatedAlbumTitle(), null, ALBUM_THUMB_WIDTH, ALBUM_THUMB_HEIGHT, ALBUM_THUMB_WIDTH, ALBUM_THUMB_HEIGHT);
    ?>
</a>
							<p>
					<?php 
    $anumber = getNumAlbums();
    $inumber = getNumImages();
    if ($anumber > 0 || $inumber > 0) {
        echo '<p><em>(';
        if ($anumber == 0) {
            if ($inumber != 0) {
                printf(ngettext('%u image', '%u images', $inumber), $inumber);
            }
        } else {
            if ($anumber == 1) {
                if ($inumber > 0) {
开发者ID:hatone,项目名称:zenphoto-1.4.1.4,代码行数:31,代码来源:index.php

示例13: while

			<div class="album-wrap">
				<ul class="thumbnails">
					<?php 
while (next_album()) {
    ?>
					<li class="span4 album-thumb">
						<a class="thumbnail" rel="tooltip" href="<?php 
    echo html_encode(getAlbumURL());
    ?>
" title="<?php 
    echo gettext('View album:') . '&nbsp;' . html_encode(getBareAlbumTitle());
    ?>
">
							<?php 
    printCustomAlbumThumbImage(getBareAlbumTitle(), NULL, getOption('personnal_thumb_width'), getOption('personnal_thumb_height'), getOption('personnal_thumb_width'), getOption('personnal_thumb_height'), NULL, NULL, 'remove-attributes');
    ?>
						</a>
						<h4>
							<a href="<?php 
    echo html_encode(getAlbumURL());
    ?>
" title="<?php 
    echo gettext('View album:') . html_encode(getBareAlbumTitle());
    ?>
">
								<?php 
    printAlbumTitle();
    ?>
							</a>
						</h4>
					</li>
开发者ID:ariep,项目名称:ZenPhoto20-DEV,代码行数:31,代码来源:inc_print_album_thumb.php

示例14: while

				<?php 
while (next_album()) {
    ?>
					<div class="album">
							<div class="thumb" align="center">
							<a href="<?php 
    echo html_encode(getAlbumURL());
    ?>
" title="<?php 
    echo gettext('View album:');
    ?>
 <?php 
    echo getBareAlbumTitle();
    ?>
"><?php 
    printCustomAlbumThumbImage(getBareAlbumTitle(), NULL, 133, 133, 133, 133);
    ?>
</a>
 							 </div>
								<div class="albumdesc" align="center">
									<h3><a href="<?php 
    echo html_encode(getAlbumURL());
    ?>
" title="<?php 
    echo gettext('View album:');
    ?>
 <?php 
    echo getBareAlbumTitle();
    ?>
"><?php 
    printAlbumTitle();
开发者ID:Imagenomad,项目名称:Unsupported,代码行数:31,代码来源:gallery.php

示例15: annotateAlbum

    }
    ?>
						<li>
							<?php 
    $annotate = annotateAlbum();
    ?>
							<div class="imagethumb">
								<a href="<?php 
    echo html_encode(getAlbumURL());
    ?>
" title="<?php 
    echo $annotate;
    ?>
">
									<?php 
    printCustomAlbumThumbImage($annotate, null, ALBUM_THMB_WIDTH, null, ALBUM_THMB_WIDTH, ALBUM_THUMB_HEIGHT);
    ?>
								</a>
							</div>
							<h4><a href="<?php 
    echo html_encode(getAlbumURL());
    ?>
" title="<?php 
    echo $annotate;
    ?>
"><?php 
    printAlbumTitle();
    ?>
</a></h4>
						</li>
					<?php 
开发者ID:rauldobrota,项目名称:zenphoto,代码行数:31,代码来源:gallery.php


注:本文中的printCustomAlbumThumbImage函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。