• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

PHP getFullImageURL函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

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



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

示例1: html_encode

    echo html_encode(getFullImageURL());
    ?>
" title="<?php 
    echo html_encode(getBareImageTitle());
    ?>
"><?php 
    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">';
开发者ID:ariep,项目名称:ZenPhoto20-DEV,代码行数:31,代码来源:image.php


示例2: getFullImageURL

    ?>
">next photo &raquo;</a>
		</div>
		<?php 
}
?>
	<p style="margin:0px;padding:0px;clear: both; ">&nbsp;</p>
	</div>


	<div id="image">



		<a class="gallery" href="<?php 
echo getFullImageURL();
?>
" title="<?php 
echo getImageTitle();
?>
"> <?php 
printDefaultSizedImage(getImageTitle());
?>
</a>
	</div>

	<div id="narrow">

	    <div id="smaller_tlg">
		<?php 
printImageDesc(true);
开发者ID:Imagenomad,项目名称:Unsupported,代码行数:31,代码来源:image.php


示例3: printTags

    echo '<div class="c"><div id="tags" class="box">';
    printTags('links', '', '', ', ', true, '', true);
    echo '</div></div>';
}
if (function_exists('printRating')) {
    echo '<div class="c"><div id="rating">';
    printRating();
    echo '</div></div>';
}
?>
			</div>
			<div class="clear_left"></div>
			<div id="image">
				<div>
					<?php 
$fullimage = getFullImageURL();
if (!empty($fullimage)) {
    ?>
						<a href="<?php 
    echo htmlspecialchars($fullimage);
    ?>
" title="<?php 
    echo getBareImageTitle();
    ?>
">
							<?php 
}
printDefaultSizedImage(html_encode(getImageTitle()), 'image', 'player');
if (!empty($fullimage)) {
    ?>
						</a>
开发者ID:Imagenomad,项目名称:Unsupported,代码行数:31,代码来源:image.php


示例4: printjCarouselThumbNav

    printjCarouselThumbNav(6, 50, 50, 50, 50, FALSE);
} else {
    if (function_exists("printPagedThumbsNav")) {
        printPagedThumbsNav(6, FALSE, gettext('&laquo; prev thumbs'), gettext('next thumbs &raquo;'), 40, 40);
    }
}
?>

	<div id="image">
		<?php 
if (getOption("Use_thickbox") && !isImageVideo()) {
    $boxclass = " class=\"thickbox\"";
    $tburl = getUnprotectedImageURL();
} else {
    $boxclass = "";
    $tburl = getFullImageURL();
}
if (!empty($tburl)) {
    ?>
			<a href="<?php 
    echo html_encode($tburl);
    ?>
"<?php 
    echo $boxclass;
    ?>
 title="<?php 
    echo getBareImageTitle();
    ?>
">
			<?php 
}
开发者ID:hatone,项目名称:zenphoto-1.4.1.4,代码行数:31,代码来源:image.php


示例5: getAlbumURL

        $desc = $a->getDesc();
        $customThumb = $thumb->getCustomImage(NULL, 202, 56, 202, 56, NULL, NULL, false);
        $url = getAlbumURL();
        echo "\t<div class='thumb' index='{$u}' title='{$title}' location='{$customThumb}' url='{$url}'><description>{$desc}</description></div>\n";
        $u++;
    }
} else {
    $u = 0;
    while (next_image()) {
        $title = getImageTitle();
        $size = getSizeCustomImage(NULL, 383);
        $desc = getImageDesc();
        if (!empty($desc)) {
            $desc = theme_clean($desc);
        } else {
            $desc = '';
        }
        $thumb = getImageThumb();
        $small = getCustomImageURL(NULL, 383);
        $full = getFullImageURL();
        $width = $size[0];
        $height = $size[1];
        $rating = $_zp_current_image->get('rating');
        echo "\t<div class='thumb' index='{$u}' title='{$title}' \n\t\twidth='{$width}' " . "\n\t\theight='{$height}' \n\t\turl='{$full}' \n\t\tpreviewUrl='{$small}'" . "\n\t\tlocation='{$thumb}' \n\t\trating='{$rating}' \n\t\tobject_id='" . $_zp_current_image->id . "'>" . "\n\t\t<description>\n\t\t\t{$desc}\n\t\t</description>\n\t</div>\n";
        $u++;
    }
}
?>
	
</div>
开发者ID:Imagenomad,项目名称:Unsupported,代码行数:30,代码来源:fetch-thumbs.php


示例6: printSlideShowLink


//.........这里部分代码省略.........
								transition: '<?php 
                    echo getOption('slideshow_colorbox_transition');
                    ?>
',
								slideshowSpeed: <?php 
                    echo getOption('slideshow_speed');
                    ?>
,
								slideshowStart: '<?php 
                    echo gettext("start slideshow");
                    ?>
',
								slideshowStop: '<?php 
                    echo gettext("stop slideshow");
                    ?>
',
								previous: '<?php 
                    echo gettext("prev");
                    ?>
',
								next: '<?php 
                    echo gettext("next");
                    ?>
',
								close: '<?php 
                    echo gettext("close");
                    ?>
',
								current: '<?php 
                    printf(gettext('image %1$s of %2$s'), '{current}', '{total}');
                    ?>
',
								maxWidth: '98%',
								maxHeight: '98%',
								photo: true
							});
						});
					</script>
					<?php 
                    foreach ($images as $image) {
                        if (is_array($image)) {
                            $suffix = getSuffix($image['filename']);
                        } else {
                            $suffix = getSuffix($image);
                        }
                        $suffixes = array('jpg', 'jpeg', 'gif', 'png');
                        if (in_array($suffix, $suffixes)) {
                            $count++;
                            if (is_array($image)) {
                                $albobj = newAlbum($image['folder']);
                                $imgobj = newImage($albobj, $image['filename']);
                            } else {
                                $imgobj = newImage($_zp_current_album, $image);
                            }
                            if (in_context(ZP_SEARCH_LINKED) || $_zp_gallery_page != 'image.php') {
                                if ($count == 1) {
                                    $style = '';
                                } else {
                                    $style = ' style="display:none"';
                                }
                            } else {
                                if ($_zp_current_image->filename == $image) {
                                    $style = '';
                                } else {
                                    $style = ' style="display:none"';
                                }
                            }
                            switch (getOption('slideshow_colorbox_imagetype')) {
                                case 'fullimage':
                                    $imagelink = getFullImageURL($imgobj);
                                    break;
                                case 'sizedimage':
                                    $imagelink = $imgobj->getCustomImage(getOption("slideshow_width"), NULL, NULL, NULL, NULL, NULL, NULL, false, NULL);
                                    break;
                            }
                            $imagetitle = '';
                            if (getOption('slideshow_colorbox_imagetitle')) {
                                $imagetitle = html_encode(getBare($imgobj->getTitle()));
                            }
                            ?>
							<a href="<?php 
                            echo html_encode(pathurlencode($imagelink));
                            ?>
" rel="slideshow"<?php 
                            echo $style;
                            ?>
 title="<?php 
                            echo $imagetitle;
                            ?>
"><?php 
                            echo $linktext;
                            ?>
</a>
							<?php 
                        }
                    }
                }
                break;
        }
    }
开发者ID:rb26,项目名称:zenphoto,代码行数:101,代码来源:slideshow.php


示例7: while

	<?php 
echo $prevNext['prev'];
?>
	<div id="image-thumb-container">
		<?php 
$u = 0;
while (next_image()) {
    $imageTitle = getImageTitle();
    $size = getSizeCustomImage(NULL, 383);
    $desc = getImageDesc();
    if (!empty($desc)) {
        $desc = ThemeUtil::clean($desc);
    } else {
        $desc = '';
    }
    ThemeUtil::$script .= "images.push({" . "  title: '{$imageTitle}', \n" . "  description: '{$desc}', \n" . "  location: '" . getCustomImageURL(NULL, 383) . "', \n" . "  url: '" . getFullImageURL() . "',\n" . "  width: " . $size[0] . ",\n" . "  height: " . $size[1] . "\n" . "});\n";
    if (isset($_highlight_image) && $_highlight_image == $_zp_current_image->filename) {
        ThemeUtil::$script .= "initialImageThumbSelection = {$u}; \n";
    }
    ?>
			<div class="image-thumb left opa60 <?php 
    echo $u % 2 == 0 ? 'even' : 'odd';
    ?>
">
				<img 
					index="<?php 
    echo $u;
    ?>
" 
					id="img-<?php 
    echo $u;
开发者ID:Imagenomad,项目名称:Unsupported,代码行数:31,代码来源:left.php


示例8: header

</body>
</html>
<?php 
} else {
    header('Content-Type: application/xml');
    $path = '..';
    echo '<?xml version="1.0" encoding="UTF-8"?>
<simpleviewerGallery title=""  maxImageWidth="' . $maxImageWidth . '" maxImageHeight="' . $maxImageHeight . '" textColor="' . $textColor . '" frameColor="' . $frameColor . '" frameWidth="' . $frameWidth . '" stagePadding="' . $stagePadding . '" thumbnailColumns="' . $thumbnailColumns . '" thumbnailows="' . $thumbnailRows . '" navPosition="' . $navPosition . '" enableRightClickOpen="' . $enableRightClickOpen . '" backgroundImagePath="' . $backgroundImagePath . '" imagePath="' . $path . '" thumbPath="' . $path . '">';
    ?>

<?php 
    while (next_image(true)) {
        ?>
<image><filename><?php 
        echo htmlspecialchars(getFullImageURL());
        ?>
</filename><caption><![CDATA[<a href="<?php 
        echo htmlspecialchars(getImageLinkURL());
        ?>
" title="<?php 
        echo gettext('Open in a new window');
        ?>
">
<font face="Times"><u><b><em><?php 
        echo getImageTitle();
        ?>
</font></em></b></u></a></u>
<br></font><?php 
        echo getImageDesc();
        ?>
开发者ID:ItsHaden,项目名称:epicLanBootstrap,代码行数:30,代码来源:request.php


示例9: getEXIF

function getEXIF()
{
    $er = new phpExifRW("../" . getFullImageURL());
    $er->processFile();
    $er->showImageInfo();
}
开发者ID:Imagenomad,项目名称:Unsupported,代码行数:6,代码来源:functions.php


示例10: htmlspecialchars

    ?>
<a href="<?php 
    echo htmlspecialchars(getNextImageURL());
    ?>
">Next</a><?php 
} else {
    ?>
<span>Next</span><?php 
}
?>
</li>
				</ul>
			</div>
			<?php 
if (isImagePhoto() && extensionEnabled('colorbox_js') && zp_has_filter('theme_head', 'colorbox::css')) {
    $imgURL = getFullImageURL();
    $boxclass = " class=\"fullimage\"";
    $cb = true;
} else {
    $cb = false;
}
?>
			<div id="content" class="c">
				<div class="view c">
					<?php 
if ($cb == true) {
    ?>
						<a href="<?php 
    echo html_encode($imgURL);
    ?>
"<?php 
开发者ID:kokyandrei,项目名称:Unsupported,代码行数:31,代码来源:image.php


示例11: loadAlbum

function loadAlbum($album)
{
    global $_zp_current_album, $_zp_current_image, $_zp_gallery, $custom, $enabled;
    $subalbums = $album->getAlbums();
    $started = false;
    $tcount = $count = 0;
    foreach ($subalbums as $folder) {
        $subalbum = newAlbum($folder);
        if (!$subalbum->isDynamic()) {
            $tcount = $tcount + loadAlbum($subalbum);
        }
    }
    $theme = $_zp_gallery->getCurrentTheme();
    $id = 0;
    $parent = getUrAlbum($album);
    $albumtheme = $parent->getAlbumTheme();
    if (!empty($albumtheme)) {
        $theme = $albumtheme;
        $id = $parent->getID();
    }
    loadLocalOptions($id, $theme);
    $_zp_current_album = $album;
    if ($album->getNumImages() > 0) {
        echo "<br />" . $album->name . ' ';
        while (next_image(true)) {
            if (isImagePhoto($_zp_current_image)) {
                $countit = 0;
                if (in_array('*', $enabled)) {
                    $uri = getFullImageURL(NULL, 'Protected view');
                    if (strpos($uri, 'full-image.php?') !== false) {
                        if (!($count + $countit)) {
                            echo "{ ";
                        } else {
                            echo ' | ';
                        }
                        $countit = 1;
                        ?>
						<a href="<?php 
                        echo html_encode($uri);
                        ?>
&amp;debug">
							<?php 
                        echo '<img src="' . html_encode(pathurlencode($uri)) . '" height="30" width="30" alt="X" />' . "\n";
                        ?>
						</a>
						<?php 
                    }
                }
                foreach ($custom as $key => $cacheimage) {
                    if (in_array($key, $enabled)) {
                        $size = isset($cacheimage['image_size']) ? $cacheimage['image_size'] : NULL;
                        $width = isset($cacheimage['image_width']) ? $cacheimage['image_width'] : NULL;
                        $height = isset($cacheimage['image_height']) ? $cacheimage['image_height'] : NULL;
                        $thumbstandin = isset($cacheimage['thumb']) ? $cacheimage['thumb'] : NULL;
                        if ($special = $thumbstandin === true) {
                            list($special, $cw, $ch, $cx, $cy) = $_zp_current_image->getThumbCropping($size, $width, $height);
                        }
                        if (!$special) {
                            $cw = isset($cacheimage['crop_width']) ? $cacheimage['crop_width'] : NULL;
                            $ch = isset($cacheimage['crop_height']) ? $cacheimage['crop_height'] : NULL;
                            $cx = isset($cacheimage['crop_x']) ? $cacheimage['crop_x'] : NULL;
                            $cy = isset($cacheimage['crop_y']) ? $cacheimage['crop_y'] : NULL;
                        }
                        $effects = isset($cacheimage['gray']) ? $cacheimage['gray'] : NULL;
                        if (isset($cacheimage['wmk'])) {
                            $passedWM = $cacheimage['wmk'];
                        } else {
                            if ($thumbstandin) {
                                $passedWM = getWatermarkParam($_zp_current_image, WATERMARK_THUMB);
                            } else {
                                $passedWM = getWatermarkParam($_zp_current_image, WATERMARK_IMAGE);
                            }
                        }
                        if (isset($cacheimage['maxspace'])) {
                            getMaxSpaceContainer($width, $height, $_zp_current_image, $thumbstandin);
                        }
                        $args = array($size, $width, $height, $cw, $ch, $cx, $cy, NULL, $thumbstandin, NULL, $thumbstandin, $passedWM, NULL, $effects);
                        $args = getImageParameters($args, $album->name);
                        $uri = getImageURI($args, $album->name, $_zp_current_image->filename, $_zp_current_image->filemtime);
                        if (strpos($uri, 'i.php?') !== false) {
                            if (!($count + $countit)) {
                                echo "{ ";
                            } else {
                                echo ' | ';
                            }
                            $countit = 1;
                            ?>
							<a href="<?php 
                            echo html_encode($uri);
                            ?>
&amp;debug">
								<?php 
                            if ($thumbstandin) {
                                echo '<img src="' . html_encode(pathurlencode($uri)) . '" height="15" width="15" alt="x" />' . "\n";
                            } else {
                                echo '<img src="' . html_encode(pathurlencode($uri)) . '" height="20" width="20" alt="X" />' . "\n";
                            }
                            ?>
							</a>
							<?php 
//.........这里部分代码省略.........
开发者ID:rauldobrota,项目名称:zenphoto,代码行数:101,代码来源:cacheImages.php


示例12: printImageMetaData

    ?>
</div><?php 
}
?>
						<?php 
printImageMetaData();
?>
					</div>
				</div>
				<div class="image suffix_5">
					<?php 
$linkImage = getFullImageURL();
?>
					<?php 
if (!empty($linkImage)) {
    echo '<a href="' . getFullImageURL() . '" alt="' . getImageTitle() . '">';
}
$iL = isLandscape($_zp_current_image);
if ($iL) {
    setOption('image_size', 776, false);
} else {
    setOption('image_size', 456, false);
}
setOption('image_use_side', 'longest', false);
printDefaultSizedImage(getImageTitle());
if (!empty($linkImage)) {
    echo '</a>';
}
?>
				</div>
				<div class="clear"></div>
开发者ID:Imagenomad,项目名称:Unsupported,代码行数:31,代码来源:image.php


示例13: flvPlaylist


//.........这里部分代码省略.........
 * printImageTitle();
 * flvPlaylist("players");
 * endwhile;
 * ?>
 * Of course you can add further functions to b) like title, description, date etc., too.
 *
 * @param string $option the mode to use "playlist" or "players"
 */
function flvPlaylist($option = '')
{
    global $_zp_current_album, $_zp_current_image, $_flv_player, $_zp_flash_player;
    if (checkAlbumPassword($_zp_current_album->getFolder(), $hint)) {
        if ($option === "players") {
            $moviepath = getUnprotectedImageURL();
            $ext = strtolower(strrchr(getUnprotectedImageURL(), "."));
        }
        $imagetitle = getImageTitle();
    }
    $albumid = getAlbumID();
    switch ($option) {
        case "playlist":
            if (getNumImages() != 0) {
                ?>
	<div id="flvplaylist"><?php 
                echo gettext("The flv player is not installed. Please install or activate the flv player plugin.");
                ?>
</div>
	<script type="text/javascript">

		var so = new SWFObject('<?php 
                echo WEBPATH . '/' . USER_PLUGIN_FOLDER;
                ?>
/flvplayer/<?php 
                echo $_flv_player;
                ?>
','flvplaylist','<?php 
                echo getOption('flvplaylist_width');
                ?>
','<?php 
                echo getOption('flvplaylist_height');
                ?>
','8');
		so.addParam('allowfullscreen','true');
		so.addVariable('stretching','<?php 
                echo getOption('flv_player_stretching');
                ?>
');
		so.addVariable('playlist', '<?php 
                echo getOption('flvplaylist_position');
                ?>
');
		so.addVariable('playlistsize','<?php 
                echo getOption('flvplaylist_size');
                ?>
');
		so.addVariable('repeat','<?php 
                echo getOption('flvplaylist_repeat');
                ?>
');
		so.addVariable('backcolor','<?php 
                echo getOptionColor('flv_player_backcolor');
                ?>
');
		so.addVariable('frontcolor','<?php 
                echo getOptionColor('flv_player_frontcolor');
                ?>
');
		so.addVariable('lightcolor','<?php 
                echo getOptionColor('flv_player_lightcolor');
                ?>
');
		so.addVariable('screencolor','<?php 
                echo getOptionColor('flv_player_screencolor');
                ?>
');
		so.addVariable('file','<?php 
                echo WEBPATH . "/" . USER_PLUGIN_FOLDER;
                ?>
/flvplayer/playlist.php?albumid=<?php 
                echo $albumid;
                ?>
');
		so.addVariable('javascriptid','jstest');
		so.addVariable('enablejs','true');
		so.write('flvplaylist');
	</script>
	<?php 
            }
            break;
        case "players":
            if ($ext == ".flv" || $ext == ".mp3" || $ext == ".mp4") {
                if (is_null($_zp_flash_player)) {
                    echo "<img src='" . WEBPATH . '/' . ZENFOLDER . "'/images/err-noflashplayer.gif' alt='" . gettext('The flv player is not installed. Please install or activate the flv player plugin.') . "' />";
                } else {
                    $_zp_flash_player->printPlayerConfig(getFullImageURL(), $_zp_current_image->getTitle(), $_zp_current_image->get("id"));
                }
            }
            break;
    }
}
开发者ID:Imagenomad,项目名称:Unsupported,代码行数:101,代码来源:flvplayer.php


示例14: getPrevPageURL

    }
}
?>
		</ul>
	</div>

   <div id="fullplate-navigation">
   	<ul>
   <?php 
if (hasPrevPage()) {
    echo "\t\t" . '<li id="previous"><a href="' . getPrevPageURL() . '" title="Previous Image"><img src="' . $_zp_themeroot . '/images/arrow_left.png" width="16" height="16" alt="left ' . 'arrow" /></a></li>' . "\n";
} else {
    echo "\t\t" . '<li>&nbsp;</li>' . "\n";
}
if (in_context(ZP_IMAGE)) {
    echo "\t\t" . '<li><a href="' . getFullImageURL() . '" title="Full Size Image"><img src="' . $_zp_themeroot . '/images/arrow_out.png" width="16" height="16" alt="arrows ' . 'pointing out" /></a></li>' . "\n";
} else {
    echo "\t\t" . '<li>&nbsp;</li>' . "\n";
}
if (hasNextPage()) {
    echo "\t\t" . '<li id="next"><a href="' . getNextPageURL() . '" title="Next Image"><img src="' . $_zp_themeroot . '/images/arrow_right.png" width="16" height="16" alt="right ' . 'arrow" /></a></li>' . "\n";
} else {
    echo "\t\t" . '<li>&nbsp;</li>' . "\n";
}
?>
   	</ul>
   </div>

	<div id="foot">
		<div id="logo">
			<?php 
开发者ID:Imagenomad,项目名称:Unsupported,代码行数:31,代码来源:index.php



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


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
PHP getFullNameFromArray函数代码示例发布时间:2022-05-15
下一篇:
PHP getFromClient函数代码示例发布时间:2022-05-15
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap