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

PHP getImageDesc函数代码示例

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

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



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

示例1: printImageDesc

/**
 * Prints the description of the current image.
 * Converts and displays line breaks set in the admin field as <br />.
 *
 */
function printImageDesc()
{
    echo html_encodeTagged(getImageDesc());
}
开发者ID:IliyanGochev,项目名称:zenphoto,代码行数:9,代码来源:template-functions.php


示例2: printDefaultSizedImage

						</a>
					<?php 
} else {
    printDefaultSizedImage(html_encode(getImageTitle()), 'image', 'player');
}
?>
				</div>
				<div class="data">
					<?php 
if (getImageTitle()) {
    echo '<div class="c"><h4 class="box title">' . getImageTitle() . '</h4></div>';
}
?>
					<?php 
if (getImageDesc()) {
    echo '<div class="c"><div class="box desc">' . getImageDesc() . '</div></div>';
}
?>
					<?php 
if (getImageLocation()) {
    echo '<div class="c"><small class="box location">' . getImageLocation() . '</small></div>';
}
?>
					<?php 
if (getImageDate()) {
    echo '<div class="c"><small class="box date">' . getImageDate('%d.%m.%y %H:%M') . '</small></div>';
}
?>
				</div>
			</div>
<?php 
开发者ID:kokyandrei,项目名称:Unsupported,代码行数:31,代码来源:image.php


示例3: printDefaultSizedImage

    ?>
		<div class="audiovideo">
		<?php 
    printDefaultSizedImage(getBareImageTitle());
    ?>
		</div>
		<?php 
}
?>
	</div>


	<div id="narrow">

	<?php 
if (getImageDesc() != '') {
    ?>
		<div id="desc">
			<?php 
    printImageDesc(true);
    ?>
		</div>
	<?php 
}
?>

	<!-- exif -->


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


示例4: getAlbumDesc

								<div><?php 
    echo getAlbumDesc();
    ?>
</div>
							</div>
						</li>
						<?php 
}
?>
						<?php 
while (next_image()) {
    ?>
						<li>
							<div class="thumb">
								<a title="<?php 
    echo html_encode(getImageDesc());
    ?>
" href="<?php 
    echo htmlspecialchars(getImageURL());
    ?>
">
									<img src="<?php 
    echo getCustomImageURL(150, NULL, NULL, 150, 150, NULL, NULL, true);
    ?>
" alt="<?php 
    echo html_encode(getBareImageTitle() . ' (' . getImageDate(getOption('date_format')) . ')');
    ?>
" />
								</a>
							</div>
						</li>
开发者ID:Imagenomad,项目名称:Unsupported,代码行数:31,代码来源:album.php


示例5: getImagesHTML

 function getImagesHTML()
 {
     global $_zp_themeroot, $_zp_current_image, $_zp_current_album;
     $showImages = $this->getNumImages() > 0 && $this->albumPage >= $this->getFirstImagePage();
     $w = 318;
     if (!$showImages) {
         return '';
     }
     $inContext = $this->context & ZP_IMAGE || in_context(ZP_SEARCH);
     if ($inContext && $_zp_current_image) {
         $fileName = $_zp_current_image->getFileName();
         $folder = $_zp_current_image->album->getFilename();
     }
     $u = 0;
     $initialHeight = 0;
     $images = '';
     $start = $this->getAlbumPage() - ($this->getNumAlbums() > 0 ? $this->getFirstImagePage() - 1 : 0);
     $albumImages = $this->getAlbumImages($start);
     for ($k = 0; $k < count($albumImages); $k++) {
         $_zp_current_image = $this->getImage($albumImages[$k]);
         if ($u == 0) {
             $image = $_zp_current_image;
         }
         $cls = '';
         if (!$inContext && $u == 0 || $inContext && !$fileName && $u == 0 || $inContext && $_zp_current_image && $fileName == $_zp_current_image->getFileName() && $folder == $_zp_current_image->album->getFilename()) {
             $cls = 'force-selection';
             $image = $_zp_current_image;
         }
         $title = getImageTitle();
         $size = getSizeCustomImage(NULL, $w);
         $desc = getImageDesc();
         if (!empty($desc)) {
             //$desc = theme_clean($desc);
         } else {
             $desc = '';
         }
         $small = getCustomImageURL(NULL, $w);
         $full = getOption('protect_full_image') == 'Unprotected' ? getUnprotectedImageURL() : '';
         $thumb = getCustomImageURL(NULL, 32, 32);
         $width = $size[0];
         $height = $size[1];
         if ($width < $w + 2) {
             $width = $w + 2;
             $height = $height * ($w + 2) / $width;
         }
         if ($u == 0) {
             $initialHeight = $height;
         }
         $images .= "<span class='img img-{$u}' width='35' height='35'>" . "<a href='" . $this->getImageThumbLink() . "' sref='{$small}' title='{$title}' targetHeight='{$height}' >" . "<img src='{$thumb}' index='{$u}' width='35' height='35' title='{$title}' class='{$cls}' ref='{$full}' />" . "</a>" . "</span>";
         $u++;
     }
     $m = $u;
     while ($u < 8) {
         $images .= "<span class='img img-{$u}'>" . "<img src='{$_zp_themeroot}/resources/images/opa/bg-b-20.png' width='35' height='35' />" . "</span>";
         $u++;
     }
     if (!in_context(ZP_IMAGE)) {
         set_context(get_context() | ZP_IMAGE);
     }
     $_zp_current_image = $image;
     $numAlbums = $this->getNumAlbums();
     $slideshowLink = $this->getSlideshowLink();
     $s = ($this->getAlbumPage() - $this->getFirstImagePage()) * getOption('images_per_page');
     $batch = $s + 1 . "-" . ($s + $m);
     $imagesDivs = "<div id='subalbum-count' class='count'>" . (isset($slideshowLink) ? "<span id='album-slideshow-link' class='unselected'><a href='{$slideshowLink}'>Slideshow</a></span>" : "") . ($numAlbums > 0 ? "<span id='subalbum-count' class='unselected'>" . "<a href='" . $this->getAlbumTabLink() . "'>" . $numAlbums . " " . gettext($this->getAlbumTabText($numAlbums)) . "</a>" . "</span>" : "") . "<span class='selected last'>{$batch} / " . $this->getNumImages() . " " . gettext("images") . "</span></div>" . "<div id='images'>{$images}</div>" . "<div id='image-container'>" . "<img src='" . getCustomImageURL(NULL, $w) . "' width='316' />" . "</div> ";
     return $imagesDivs;
 }
开发者ID:Imagenomad,项目名称:Unsupported,代码行数:67,代码来源:GalleryController.php


示例6: printImageTitle

                    ?>
"></a>
								<?php 
                }
                ?>
								<div class="caption">
									<div class="image-title"><?php 
                printImageTitle(false);
                ?>
</div>
									<?php 
                if (strlen(getImageDesc()) > 0) {
                    ?>
									<div class="image-desc">
										<?php 
                    echo shortenContent(getImageDesc(), 300, '...');
                    ?>
		
									</div>
									<?php 
                }
                ?>
									<div><?php 
                printTags('links', gettext('<strong>Tags:</strong>') . ' ', 'hor-list', ', ', false);
                ?>
</div>
									<div class="download">
										<?php 
                if (isImageVideo()) {
                    $downLoadText = gettext('Video');
                } else {
开发者ID:Imagenomad,项目名称:Unsupported,代码行数:31,代码来源:album.php


示例7: theme_content

    function theme_content($map)
    {
        global $_zp_current_image, $points;
        if (isImagePage()) {
            ?>
			<!-- Gallery section -->
			<div id="images">
				<?php 
            $points = array();
            $firstImage = null;
            $lastImage = null;
            if (getNumImages() > 0) {
                ?>
					<div id="gallery" class="ad-gallery">
						<div class="ad-image-wrapper"></div>
						<div class="ad-controls"></div>
						<div class="ad-nav">
							<div class="ad-thumbs">
								<ul class="ad-thumb-list">
									<?php 
                while (next_image(true)) {
                    if ($map) {
                        $coord = getGeoCoord($_zp_current_image);
                        if ($coord) {
                            $points[] = $coord;
                        }
                    }
                    if (isImagePhoto()) {
                        // does not do video
                        if (is_null($firstImage)) {
                            $lastImage = imageNumber();
                            $firstImage = $lastImage;
                        } else {
                            $lastImage++;
                        }
                        ?>
											<li>
												<a href="<?php 
                        echo html_encode(getDefaultSizedImage());
                        ?>
">
													<img src="<?php 
                        echo html_encode(pathurlencode(getImageThumb()));
                        ?>
"
															 class="image<?php 
                        echo $lastImage;
                        ?>
"
															 alt="<?php 
                        echo html_encode(getImageDesc());
                        ?>
">
												</a>
											</li>
											<?php 
                    }
                }
                ?>
								</ul>
							</div>
						</div>
					</div>
				<?php 
            }
            ?>

				<div id="caption"<?php 
            if (getOption('garland_caption_location') == 'none') {
                echo ' style="display:none"';
            }
            ?>
>
				</div>
				<div class="clearage"></div>
			</div><!-- images -->
			<br class="clearall" />
			<?php 
        }
    }
开发者ID:rb26,项目名称:zenphoto,代码行数:80,代码来源:functions.php


示例8: printImageTitle

?>
		</div>
		<div id="content" class="c">
			<div id="description">
				<div class="c">
					<div id="title" class="box"><h3><?php 
printImageTitle(true);
?>
</h3></div>
					<div id="date" class="box"><?php 
echo '( ' . getImageDate(getOption('date_format')) . ' )';
?>
</div>
				</div>
				<?php 
if (getImageDesc() or zp_loggedin()) {
    echo '<div class="c"><div id="desc" class="box">';
    echo printImageDesc(true);
    echo '</div></div>';
}
if (getTags() or zp_loggedin()) {
    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>';
}
?>
开发者ID:Imagenomad,项目名称:Unsupported,代码行数:31,代码来源:image.php


示例9: theme_content

    function theme_content($map)
    {
        global $_zp_current_image, $_zp_current_album, $points;
        if (isImagePage()) {
            ?>
			<!-- Gallery section -->
			<div id="content">
				<div id="main">
					<div id="images">
						<?php 
            $points = array();
            $firstImage = null;
            $lastImage = null;
            if (getNumImages() > 0) {
                ?>
							<div id="gallery" class="ad-gallery">
								<div class="ad-image-wrapper"></div>
								<div class="ad-controls"></div>
								<div class="ad-nav">
									<div class="ad-thumbs">
										<ul class="ad-thumb-list">
											<?php 
                while (next_image(true)) {
                    if ($map) {
                        $coord = getGeoCoord($_zp_current_image);
                        if ($coord) {
                            $points[] = $coord;
                        }
                    }
                    if (isImagePhoto()) {
                        // does not do video
                        if (is_null($firstImage)) {
                            $lastImage = imageNumber();
                            $firstImage = $lastImage;
                        } else {
                            $lastImage++;
                        }
                        ?>
													<li>
														<a href="<?php 
                        echo html_encode(getDefaultSizedImage());
                        ?>
">
															<img src="<?php 
                        echo html_encode(pathurlencode(getImageThumb()));
                        ?>
"
																	 class="image<?php 
                        echo $lastImage;
                        ?>
"
																	 alt="<?php 
                        echo html_encode(getImageDesc());
                        ?>
">
														</a>
													</li>
													<?php 
                    }
                }
                ?>
										</ul>
									</div>
								</div>
							</div>
							<?php 
            }
            ?>

						<div id="caption"<?php 
            if (getOption('effervescence_caption_location') == 'none') {
                echo ' style="display:none"';
            }
            ?>
>
						</div>
						<div class="clearage"></div>
						<?php 
            if (!empty($points) && $map) {
                function map_callback($map)
                {
                    global $points;
                    foreach ($points as $coord) {
                        addGeoCoord($map, $coord);
                    }
                }
                ?>
							<div id="map_link">
							<?php 
                printGoogleMap(NULL, NULL, NULL, 'album_page', 'map_callback');
                ?>
							</div>
						<?php 
            }
            ?>
					</div><!-- images -->
			<?php 
            if (function_exists('printAddToFavorites')) {
                printAddToFavorites($_zp_current_album);
            }
//.........这里部分代码省略.........
开发者ID:rb26,项目名称:zenphoto,代码行数:101,代码来源:functions.php


示例10: getTags

					<?php 
$singletag = getTags();
$tagstring = implode(', ', $singletag);
?>
					<ul class="image-info">
						<?php 
if (strlen(getImageDate()) > 0 || zp_loggedin()) {
    ?>
<li class="date"><?php 
    printImageDate('');
    ?>
</li><?php 
}
?>
						<?php 
if (strlen(getImageDesc()) > 0 || zp_loggedin()) {
    ?>
<li class="desc"><?php 
    printImageDesc();
    ?>
</li><?php 
}
if (strlen($tagstring) > 0 || zp_loggedin()) {
    ?>
<li class="tags"><?php 
    printTags('links', ' ', 'taglist', ', ');
    ?>
</li><?php 
}
?>
					</ul>
开发者ID:ariep,项目名称:ZenPhoto20-DEV,代码行数:31,代码来源:image.php


示例11: getBareImageDesc

/**
 * Returns a text-only description of the current image.
 *
 * @return string
 */
function getBareImageDesc()
{
    return strip_tags(getImageDesc());
}
开发者ID:hatone,项目名称:zenphoto-1.4.1.4,代码行数:9,代码来源:template-functions.php


示例12: getBareImageDesc

/**
 * Returns a text-only description of the current image.
 *
 * @return string
 */
function getBareImageDesc()
{
    return html_encode(getImageDesc());
}
开发者ID:ItsHaden,项目名称:epicLanBootstrap,代码行数:9,代码来源:template-functions.php


示例13: header

    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();
        ?>
]]></caption></image><?php 
    }
    ?>
</simpleviewerGallery><?php 
}
开发者ID:ItsHaden,项目名称:epicLanBootstrap,代码行数:31,代码来源:request.php


示例14: getOption

<?php 
$imagesPerPage = getOption('images_per_page');
$count = 1;
while (next_image() && $count <= $imagesPerPage) {
    ?>

			<div class="image">
				<a href="<?php 
    echo getImageURL();
    ?>
"
					title="<?php 
    if (getImageDesc() == "") {
        echo getImageTitle();
    } else {
        echo getImageTitle() . ' - ' . getImageDesc();
    }
    ?>
"><img
					src="<?php 
    echo getCustomImageURL(100, 100, 100, 100);
    ?>
"
					alt="<?php 
    echo 'Image ' . ($count + ($currentPage - 1) * $imagesPerPage) . ' of ' . getNumImages();
    ?>
"
					width="100" height="100"<?php 
    if ($pc_AjaxFx) {
        echo '
				onLoad="new Effect.Fade(this, {from: 1 , to: .5, queue: \'parallel\', duration: .3});"
开发者ID:Imagenomad,项目名称:Unsupported,代码行数:31,代码来源:album.php


示例15: while

    while (next_album()) {
        $a = $_zp_current_album;
        $thumb = $a->getAlbumThumbImage();
        $title = $a->getTitle();
        $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++;
    }
}
开发者ID:Imagenomad,项目名称:Unsupported,代码行数:31,代码来源:fetch-thumbs.php


示例16: printAlbumMap

/**
 * Causes a Google map to be printed based on the gps data in all the images in the album
 * @param  string $zoomlevel the zoom in for the map. NULL will use the default
 * @param string $defaultmaptype the starting display of the map valid values are G_NORMAL_MAP | G_SATELLITE_MAP | G_HYBRID_MAP | G_PHYSICAL_MAP | G_SATELLITE_3D_MAP
 * @param int $width is the image width of the map. NULL will use the default
 * @param int $height is the image height of the map. NULL will use the default
 * @param string $text text for the pop-up link
 * @param bool $toggle set to true to hide initially
 * @param string $id DIV id
 * @param int $firstPageImages the number of images on transition pages.
 * @param array $mapselections array of the maps to be used.
 * @param bool $addphysical Adds physical map.
 * @param bool $addwiki Adds wikipedia georeferenced data on your maps
 * @param string $background the background color for the map
 * @param string $mapcontrol values None | Small | Large
 * @param string $maptypecontrol values Buttons | List
 * @param string $customJS the extra javascript needed by the theme
 */
function printAlbumMap($zoomlevel = NULL, $defaultmaptype = NULL, $width = NULL, $height = NULL, $text = '', $toggle = true, $id = 'googlemap', $firstPageImages = 0, $mapselections = NULL, $addwiki = NULL, $background = NULL, $mapcontrol = NULL, $maptypecontrol = NULL, $customJS = NULL)
{
    global $_zp_phoogle, $_zp_images, $_zp_current_album, $_zp_current_image;
    if (getOption('gmaps_apikey') != '') {
        $foundLocation = false;
        $defaultmaptype = setupAllowedMaps($defaultmaptype, $mapselections);
        if ($zoomlevel) {
            $_zp_phoogle->zoomLevel = $zoomlevel;
        }
        if (!is_null($width)) {
            $_zp_phoogle->setWidth($width);
        } else {
            $_zp_phoogle->setWidth(getOption('gmaps_width'));
        }
        if (!is_null($height)) {
            $_zp_phoogle->setHeight($height);
        } else {
            $_zp_phoogle->setHeight(getOption('gmaps_height'));
        }
        if (!is_null($mapcontrol)) {
            $_zp_phoogle->setControlMap($mapcontrol);
        } else {
            $_zp_phoogle->setControlMap(getOption('gmaps_control'));
        }
        if (!is_null($maptypecontrol)) {
            $_zp_phoogle->setControlMapType($maptypecontrol);
        } else {
            $_zp_phoogle->setControlMapType(getOption('gmaps_control_maptype'));
        }
        if (!is_null($background)) {
            $_zp_phoogle->setBackGround($background);
        } else {
            $_zp_phoogle->setBackGround(getOption('gmaps_background'));
        }
        if (!is_null($customJS)) {
            $_zp_phoogle->customJS = $customJS;
        }
        resetCurrentAlbum();
        // start from scratch
        while (next_image(getOption('gmaps_show_all_album_points'), $firstPageImages)) {
            $exif = getImageEXIFData();
            if (!empty($exif['EXIFGPSLatitude']) && !empty($exif['EXIFGPSLongitude'])) {
                $foundLocation = true;
                $lat = $exif['EXIFGPSLatitude'];
                $long = $exif['EXIFGPSLongitude'];
                if ($exif['EXIFGPSLatitudeRef'] == 'S') {
                    $lat = '-' . $lat;
                }
                if ($exif['EXIFGPSLongitudeRef'] == 'W') {
                    $long = '-' . $long;
                }
                $infoHTML = '<a href="' . pathurlencode(getImageLinkURL()) . '"><img src="' . pathurlencode(getImageThumb()) . '" alt="' . getImageDesc() . '" ' . 'style=" margin-left: 30%; margin-right: 10%; border: 0px; "/></a>' . '<p>' . getImageDesc() . '</p>';
                addPoint($lat, $long, js_encode($infoHTML));
            }
        }
        resetCurrentAlbum();
        // clear out any 'damage'
        if ($foundLocation) {
            $dataid = $id . '_data';
            //to avoid problems with google earth and the toggle options, the toggle option is removed from here when GE is activated
            //it is possible to have both functionnality work but the toogle option should then be integrated in the phoogle map class dirctly within the script
            //that calls the map and should alos trigger a map type change. check Sobre theme or  have alook at www.kaugite.com for an example
            $toggle = $toggle && $defaultmaptype != 'G_SATELLITE_3D_MAP';
            if (is_null($text)) {
                $text = gettext('Google Map');
            }
            echo "<a href=\"javascript: vtoggle('{$dataid}');\" title=\"" . gettext('Display or hide the Google Map.') . "\">";
            echo $text;
            echo "</a>\n";
            echo "  <div id=\"{$dataid}\"" . ($toggle ? " style=\"color:black; visibility: hidden;position:absolute;left: -3000px;top: -3000px\"" : '') . ">\n";
            $_zp_phoogle->showMap(is_null($zoomlevel));
            echo "  </div>\n";
        }
    }
}
开发者ID:ItsHaden,项目名称:epicLanBootstrap,代码行数:93,代码来源:google_maps.php


示例17: imageNumber

echo imageNumber() . '/' . getNumImages();
?>
</span>
		</div>
		<div class="sidebar-divide">
			<div id="full-image-details">
				<h2><?php 
printImageTitle(true);
?>
</h2>
				<div class="sidebar-section"><?php 
printImageDate('', '', null, true);
?>
</div>
				<?php 
if (getImageDesc() || zp_loggedin()) {
    ?>
<div class="sidebar-section"><?php 
    printImageDesc(true);
    ?>
</div><?php 
}
?>
				<?php 
if (getTags() || zp_loggedin()) {
    ?>
<div class="sidebar-section"><?php 
    printTags('links', gettext('<strong>Tags:</strong>') . ' ', 'taglist', '');
    ?>
</div><?php 
}
开发者ID:ariep,项目名称:ZenPhoto20-DEV,代码行数:31,代码来源:image.php


示例18: getImageTitle

"
					alt="<?php 
    echo getImageTitle();
    ?>
"
					width="<?php 
    echo $iw;
    ?>
" height="<?php 
    echo $ih;
    ?>
" />
					<span><?php 
    echo 'image size: ' . getFullWidth() . 'x' . getFullHeight();
    if (getImageDesc() != '') {
        echo '<br /><br />' . getImageDesc();
    }
    ?>
</span></a>
			</li>

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

   <div id="fullplate-navigation">
      <ul>
   <?php 
开发者ID:Imagenomad,项目名称:Unsupported,代码行数:31,代码来源:album.php



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


鲜花

握手

雷人

路过

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

请发表评论

全部评论

专题导读
上一篇:
PHP getImageForType函数代码示例发布时间:2022-05-15
下一篇:
PHP getImageCacheFilename函数代码示例发布时间: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