1er commit
Theme zenphoto
This commit is contained in:
160
_slideshow retina/archive.php
Normal file
160
_slideshow retina/archive.php
Normal file
@@ -0,0 +1,160 @@
|
||||
<?php include ("header.php");
|
||||
if (isset($_GET['option'])) $archiveoption = $_GET['option'];
|
||||
else $archiveoption = 'random';
|
||||
$archivecount = 12;
|
||||
?>
|
||||
|
||||
<div id="main">
|
||||
|
||||
<div class="center_albums">
|
||||
|
||||
<div id="headline">
|
||||
<h3>
|
||||
<!-- ZP 1.4.6: html_encode(getGalleryIndexURL()) remplace htmlspecialchars(getGalleryIndexURL(false)) -->
|
||||
<a href="<?php echo html_encode(getGalleryIndexURL()); ?>" title="<?php echo gettext('Albums Index'); ?>"><?php echo getGalleryTitle(); ?></a>
|
||||
<?php echo " » <em>".gettext("Archive")."</em> » ";
|
||||
switch ($archiveoption) {
|
||||
case "random":
|
||||
echo gettext('Random Images');
|
||||
break;
|
||||
case "popular":
|
||||
echo gettext('Popular Images');
|
||||
break;
|
||||
case "latest":
|
||||
echo gettext('Latest Images');
|
||||
break;
|
||||
case "latest-date":
|
||||
echo gettext('Latest Images');
|
||||
break;
|
||||
case "latest-mtime":
|
||||
echo gettext('Latest Images');
|
||||
break;
|
||||
case "mostrated":
|
||||
echo gettext('Most Rated Images');
|
||||
break;
|
||||
case "toprated":
|
||||
echo gettext('Top Rated Images');
|
||||
break;
|
||||
}
|
||||
?>
|
||||
</h3>
|
||||
</div>
|
||||
|
||||
</div> <!-- /center_albums -->
|
||||
|
||||
<p class="clear"></p>
|
||||
|
||||
<div class="center_search">
|
||||
|
||||
<?php
|
||||
if (($archiveoption) != 'random') {
|
||||
$images = getImageStatistic($archivecount,$archiveoption);
|
||||
foreach ($images as $image) {
|
||||
//print_r($image);
|
||||
//echo '<br>';
|
||||
//$a = html_encode($image->getImageLink());
|
||||
// /zenphoto/index.php?album=bouquetins&image=2008-08-30_Bouquetin_9284.jpg
|
||||
//$a = htmlspecialchars($image->getFullImage());
|
||||
// /zenphoto/albums/bouquetins/2008-08-30_Bouquetin_9284.jpg
|
||||
//echo $a;
|
||||
?>
|
||||
<div class="album">
|
||||
|
||||
<div class="thumb">
|
||||
<div class="album-tools">
|
||||
<?php if (!isImageVideo()) { ?>
|
||||
<a class="album-tool" rel="zoom" href="<?php echo htmlspecialchars($image->getFullImage()); ?>" title="<?php echo html_encode($image->getTitle());?>"><img src="<?php echo $_zp_themeroot; ?>/images/search.png" alt="Zoom Image" /></a>
|
||||
<?php } ?>
|
||||
</div>
|
||||
<!-- ZP 1.4.6: getLink() remplace getImageLink() -->
|
||||
<a class="wraptocenter" href="<?php echo html_encode($image->getLink()); ?>" title="<?php echo html_encode($image->getTitle()); ?>">
|
||||
<img src="<?php echo html_encode($image->getCustomImage(getOption('thumb_size'),null,null,null,null,null,null,true)); ?>" alt="<?php echo html_encode($image->getTitle()); ?>" />
|
||||
</a>
|
||||
</div>
|
||||
<p style="clear: both; "></p>
|
||||
</div>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
else {
|
||||
for ($i=1; $i<=$archivecount; $i++) {
|
||||
$randomImage = getRandomImages();
|
||||
if (is_object($randomImage) && $randomImage->exists) {
|
||||
//$randomImageURL = html_encode(getURL($randomImage));
|
||||
$randomImageURL = html_encode($randomImage->getLink()); // ZP 1.4.6
|
||||
//preprint($randomImage);
|
||||
$filename = $randomImage->getFileName();
|
||||
$album = $randomImage->getAlbumName();
|
||||
//echo $randomImageURL;
|
||||
//echo getImageThumb($randomImageURL);
|
||||
|
||||
// getFullImage()
|
||||
//echo $randomImage->getAlbumName();
|
||||
//echo "bla" . $randomImage->encwebpath();
|
||||
echo "getFullImage: " . $randomImage->getFullImage();
|
||||
//echo "b: " . $randomImage->encwebpath();
|
||||
echo "getFullImageURL: " . $randomImage->getFullImageURL();
|
||||
|
||||
?>
|
||||
|
||||
<div class="album">
|
||||
<div class="thumb">
|
||||
<div class="album-tools">
|
||||
<?php if (!isImageVideo()) { ?>
|
||||
<a class="album-tool" rel="zoom" href="<?php echo htmlspecialchars($randomImage->getFullImage()); ?>" title="<?php echo html_encode($randomImage->getTitle());?>"><img src="<?php echo $_zp_themeroot; ?>/images/search.png" alt="Zoom Image" /></a>
|
||||
<?php } ?>
|
||||
</div>
|
||||
<a class="wraptocenter" href="<?php echo html_encode($randomImage->getLink()); ?>" title="<?php echo html_encode($randomImage->getTitle()); ?>">
|
||||
<?php //printThumbs($randomImageURL); ?>
|
||||
<img src="<?php echo html_encode($randomImage->getCustomImage(getOption('thumb_size'),null,null,null,null,null,null,true)); ?>" alt="<?php echo html_encode($randomImage->getTitle()); ?>" />
|
||||
<!--img src="zp-core/i.php?a='.$album.'&i='.$filename.'&s=thumb" class="img_archive" /-->
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<p style="clear: both; "></p>
|
||||
</div>
|
||||
<?php }
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
||||
</div> <!-- /center_search -->
|
||||
|
||||
|
||||
<div id="sidebar">
|
||||
<?php printSearchForm( '','searchform','',gettext('OK'),"$_zp_themeroot/images/drop.gif",null,null,"$_zp_themeroot/images/reset.gif" ); ?>
|
||||
<p class="titreBar"><?php echo gettext('Date Archive'); ?></p>
|
||||
<?php printAllDates('archive-menu','year','month','desc'); ?>
|
||||
<p class="titreBar margeTop"><?php echo gettext('Archive'); ?></p>
|
||||
<ul id="listArchive">
|
||||
<li><a href="?p=archive&option=popular"><?php echo gettext('most popular images'); ?></a></li>
|
||||
<li><a href="?p=archive&option=latest"><?php echo gettext('latest uploaded images'); ?></a></li>
|
||||
<li><a href="?p=archive&option=latest-date"><?php echo gettext('latest uploaded, but fetched by date'); ?></a></li>
|
||||
<!-- Uploaded time -> mtime -->
|
||||
<li><a href="?p=archive&option=latest-mtime"><?php echo gettext('latest uploaded, but fetched by mtime'); ?></a></li>
|
||||
<li><a href="?p=archive&option=mostrated"><?php echo gettext('most voted'); ?></a></li>
|
||||
<li><a href="?p=archive&option=toprated"><?php echo gettext('best voted'); ?></a></li>
|
||||
<li><a href="?p=archive&option=random"><?php echo gettext('random'); ?></a></li>
|
||||
</ul>
|
||||
<p class="titreBar margeTop"><?php echo gettext('Popular Tags'); ?></p>
|
||||
<div id="tag_cloud">
|
||||
<?php printAllTagsAs('cloud','hor-list','results',false,true,$maxfontsize = 1.4,$maxcount = 100, $mincount = 5,$limit = 20, $minfontsize = 0.6); ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="paging">
|
||||
<?php if ( (getPrevPageURL()) || (getNextPageURL()) ) { ?>
|
||||
<?php //printPageListWithNav( gettext('‹ Previous'),gettext('Next ›'),false,'true','pagelist','',true,'5' ); ?>
|
||||
<?php } ?>
|
||||
<?php if (function_exists('printAlbumMenu')) { ?>
|
||||
<div id="albumjump">
|
||||
<?php printAlbumMenu('jump',true); ?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<?php include("footer.php"); ?>
|
||||
135
_slideshow retina/slideshow (slideshow1).php
Normal file
135
_slideshow retina/slideshow (slideshow1).php
Normal file
@@ -0,0 +1,135 @@
|
||||
<?php
|
||||
|
||||
// force UTF-8 Ø
|
||||
if (!defined('WEBPATH')) die();
|
||||
?>
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<?php zp_apply_filter('theme_head'); ?>
|
||||
<title><?php printBareGalleryTitle(); ?> <?php echo gettext("Slideshow"); ?></title>
|
||||
<meta http-equiv="content-type" content="text/html; charset=<?php echo LOCAL_CHARSET; ?>" />
|
||||
<link rel="Shortcut Icon" href="http://<?php echo $_SERVER['HTTP_HOST']; ?>/photoblog/images/favicon.ico" type="image/x-icon" />
|
||||
<?php if (getOption('sweetTitles')) { ?>
|
||||
<script type="text/javascript" src="http://<?php echo $_SERVER['HTTP_HOST']; ?>/js/sweet-titles/js/addEvent.js"></script>
|
||||
<script type="text/javascript" src="http://<?php echo $_SERVER['HTTP_HOST']; ?>/js/sweet-titles/js/sweetTitles.js"></script>
|
||||
<link rel="stylesheet" href="http://<?php echo $_SERVER['HTTP_HOST']; ?>/js/sweet-titles/css/sweetTitles.css" type="text/css" />
|
||||
<?php } ?>
|
||||
<link rel="stylesheet" href="<?php echo $_zp_themeroot; ?>/css/theme.css" type="text/css" />
|
||||
<link rel="stylesheet" href="<?php echo $_zp_themeroot; ?>/css/slideshow.css" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<?php zp_apply_filter('theme_body_open'); ?>
|
||||
<?php
|
||||
function printSlideShow_MOD($heading = true, $speedctl = false, $albumobj = NULL, $imageobj = NULL, $width = NULL, $height = NULL, $crop = false, $shuffle = false, $linkslides = false, $controls = true) {
|
||||
global $_myFavorites, $_zp_conf_vars;
|
||||
if (!isset($_POST['albumid']) AND ! is_object($albumobj)) {
|
||||
return '<div class="errorbox" id="message"><h2>' . gettext('Invalid linking to the slideshow page.') . '</h2></div>';
|
||||
}
|
||||
//getting the image to start with
|
||||
if (!empty($_POST['imagenumber']) AND ! is_object($imageobj)) {
|
||||
$imagenumber = sanitize_numeric($_POST['imagenumber']) - 1; // slideshows starts with 0, but zp with 1.
|
||||
} elseif (is_object($imageobj)) {
|
||||
$imagenumber = $imageobj->getIndex();
|
||||
} else {
|
||||
$imagenumber = 0;
|
||||
}
|
||||
// set pagenumber to 0 if not called via POST link
|
||||
if (isset($_POST['pagenr'])) {
|
||||
$pagenumber = sanitize_numeric($_POST['pagenr']);
|
||||
} else {
|
||||
$pagenumber = 1;
|
||||
}
|
||||
// getting the number of images
|
||||
if (!empty($_POST['numberofimages'])) {
|
||||
$numberofimages = sanitize_numeric($_POST['numberofimages']);
|
||||
} elseif (is_object($albumobj)) {
|
||||
$numberofimages = $albumobj->getNumImages();
|
||||
} else {
|
||||
$numberofimages = 0;
|
||||
}
|
||||
if ($imagenumber < 2 || $imagenumber > $numberofimages) {
|
||||
$imagenumber = 0;
|
||||
}
|
||||
//getting the album to show
|
||||
if (!empty($_POST['albumid']) && !is_object($albumobj)) {
|
||||
$albumid = sanitize_numeric($_POST['albumid']);
|
||||
} elseif (is_object($albumobj)) {
|
||||
$albumid = $albumobj->getID();
|
||||
} else {
|
||||
$albumid = 0;
|
||||
}
|
||||
|
||||
if (isset($_POST['preserve_search_params'])) { // search page
|
||||
$search = new SearchEngine();
|
||||
$params = sanitize($_POST['preserve_search_params']);
|
||||
$search->setSearchParams($params);
|
||||
$searchwords = $search->getSearchWords();
|
||||
$searchdate = $search->getSearchDate();
|
||||
$searchfields = $search->getSearchFields(true);
|
||||
$page = $search->page;
|
||||
$returnpath = getSearchURL($searchwords, $searchdate, $searchfields, $page);
|
||||
$albumobj = new AlbumBase(NULL, false);
|
||||
$albumobj->setTitle(gettext('Search'));
|
||||
$albumobj->images = $search->getImages(0);
|
||||
} else {
|
||||
if (isset($_POST['favorites_page'])) {
|
||||
$albumobj = $_myFavorites;
|
||||
$returnpath = $_myFavorites->getLink($pagenumber);
|
||||
} else {
|
||||
$albumq = query_single_row("SELECT title, folder FROM " . prefix('albums') . " WHERE id = " . $albumid);
|
||||
$albumobj = newAlbum($albumq['folder']);
|
||||
if (empty($_POST['imagenumber'])) {
|
||||
$returnpath = $albumobj->getLink($pagenumber);
|
||||
} else {
|
||||
$image = newImage($albumobj, sanitize($_POST['imagefile']));
|
||||
$returnpath = $image->getLink();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
echo slideshow::getShow($heading, $speedctl, $albumobj, $imageobj, $width, $height, $crop, $shuffle, $linkslides, $controls, $returnpath, $imagenumber);
|
||||
}
|
||||
?>
|
||||
<div id="slideshowpage">
|
||||
<?php // /zp_extension/slideshow.php
|
||||
// printSlideShow($heading = true, $speedctl = false, $albumobj = NULL, $imageobj = NULL, $width = NULL, $height = NULL, $crop = false, $shuffle = false, $linkslides = false, $controls = true)
|
||||
/*
|
||||
* @param bool $heading set to true (default) to emit the slideshow breadcrumbs in flash mode
|
||||
* @param bool $speedctl controls whether an option box for controlling transition speed is displayed
|
||||
* @param obj $albumobj The object of the album to show the slideshow of. If set this overrides the POST data of the printSlideShowLink()
|
||||
* @param obj $imageobj The object of the image to start the slideshow with. If set this overrides the POST data of the printSlideShowLink(). If not set the slideshow starts with the first image of the album.
|
||||
* @param int $width The width of the images (jQuery mode). If set this overrides the size the slideshow_width plugin option that otherwise is used.
|
||||
* @param int $height The heigth of the images (jQuery mode). If set this overrides the size the slideshow_height plugin option that otherwise is used.
|
||||
* @param bool $crop Set to true if you want images cropped width x height (jQuery mode only)
|
||||
* @param bool $shuffle Set to true if you want random (shuffled) order
|
||||
* @param bool $linkslides Set to true if you want the slides to be linked to their image pages (jQuery mode only)
|
||||
* @param bool $controls Set to true (default) if you want the slideshow controls to be shown (might require theme CSS changes if calling outside the slideshow.php page) (jQuery mode only)
|
||||
*/
|
||||
//printSlideShow(true,false); // OK
|
||||
printSlideShow_Mod(true,false);
|
||||
//printSlideShow(false,false);
|
||||
|
||||
// /zp_extension/slideshow2.php
|
||||
// printSlideShow($heading = true, $speedctl = false, $albumobj = NULL, $imageobj = NULL, $width = NULL, $height = NULL, $crop = false, $shuffle = false, $linkslides = false, $controls = true)
|
||||
/*
|
||||
* @param bool $heading set to true (default) to emit the slideshow breadcrumbs in flash mode
|
||||
* @param bool $speedctl controls whether an option box for controlling transition speed is displayed
|
||||
* @param obj $albumobj The object of the album to show the slideshow of. If set this overrides the POST data of the printSlideShowLink()
|
||||
* @param obj $imageobj The object of the image to start the slideshow with. If set this overrides the POST data of the printSlideShowLink(). If not set the slideshow starts with the first image of the album.
|
||||
* @param int $width The width of the images (jQuery mode). If set this overrides the size the slideshow_width plugin option that otherwise is used.
|
||||
* @param int $height The heigth of the images (jQuery mode). If set this overrides the size the slideshow_height plugin option that otherwise is used.
|
||||
* @param bool $crop Set to true if you want images cropped width x height (jQuery mode only)
|
||||
* @param bool $shuffle Set to true if you want random (shuffled) order
|
||||
* @param bool $linkslides Set to true if you want the slides to be linked to their image pages (jQuery mode only)
|
||||
* @param bool $controls Set to true (default) if you want the slideshow controls to be shown (might require theme CSS changes if calling outside the slideshow.php page) (jQuery mode only)
|
||||
*/
|
||||
//printSlideShow(true,false); ?>
|
||||
|
||||
<?php //voir la vitesse printSlideShow(true,true); ?>
|
||||
</div>
|
||||
<?php zp_apply_filter('theme_body_close'); ?>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
150
_slideshow retina/slideshow (slideshow2).php
Normal file
150
_slideshow retina/slideshow (slideshow2).php
Normal file
@@ -0,0 +1,150 @@
|
||||
<?php
|
||||
|
||||
// force UTF-8 Ø
|
||||
if (!defined('WEBPATH')) die();
|
||||
?>
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<?php zp_apply_filter('theme_head'); ?>
|
||||
<title><?php printBareGalleryTitle(); ?> <?php echo gettext("Slideshow"); ?></title>
|
||||
<meta http-equiv="content-type" content="text/html; charset=<?php echo LOCAL_CHARSET; ?>" />
|
||||
<link rel="Shortcut Icon" href="http://<?php echo $_SERVER['HTTP_HOST']; ?>/photoblog/images/favicon.ico" type="image/x-icon" />
|
||||
<?php if (getOption('sweetTitles')) { ?>
|
||||
<script type="text/javascript" src="http://<?php echo $_SERVER['HTTP_HOST']; ?>/js/sweet-titles/js/addEvent.js"></script>
|
||||
<script type="text/javascript" src="http://<?php echo $_SERVER['HTTP_HOST']; ?>/js/sweet-titles/js/sweetTitles.js"></script>
|
||||
<link rel="stylesheet" href="http://<?php echo $_SERVER['HTTP_HOST']; ?>/js/sweet-titles/css/sweetTitles.css" type="text/css" />
|
||||
<?php } ?>
|
||||
<link rel="stylesheet" href="<?php echo $_zp_themeroot; ?>/css/theme.css" type="text/css" />
|
||||
<link rel="stylesheet" href="<?php echo $_zp_themeroot; ?>/css/slideshow.css" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<?php zp_apply_filter('theme_body_open'); ?>
|
||||
<?php
|
||||
function printSlideShow_Mod($heading = true, $speedctl = false, $albumobj = NULL, $imageobj = NULL, $width = NULL, $height = NULL, $crop = false, $shuffle = false, $linkslides = false, $controls = true) {
|
||||
global $_myFavorites, $_zp_conf_vars;
|
||||
if (!isset($_POST['albumid']) AND ! is_object($albumobj)) {
|
||||
return '<div class="errorbox" id="message"><h2>' . gettext('Invalid linking to the slideshow page.') . '</h2></div>';
|
||||
}
|
||||
//getting the image to start with
|
||||
if (!empty($_POST['imagenumber']) AND ! is_object($imageobj)) {
|
||||
$imagenumber = sanitize_numeric($_POST['imagenumber']) - 1; // slideshows starts with 0, but zp with 1.
|
||||
} elseif (is_object($imageobj)) {
|
||||
$imagenumber = $imageobj->getIndex();
|
||||
} else {
|
||||
$imagenumber = 0;
|
||||
}
|
||||
// set pagenumber to 0 if not called via POST link
|
||||
if (isset($_POST['pagenr'])) {
|
||||
$pagenumber = sanitize_numeric($_POST['pagenr']);
|
||||
} else {
|
||||
$pagenumber = 1;
|
||||
}
|
||||
// getting the number of images
|
||||
if (!empty($_POST['numberofimages'])) {
|
||||
$numberofimages = sanitize_numeric($_POST['numberofimages']);
|
||||
} elseif (is_object($albumobj)) {
|
||||
$numberofimages = $albumobj->getNumImages();
|
||||
} else {
|
||||
$numberofimages = 0;
|
||||
}
|
||||
if ($numberofimages < 2 || $imagenumber > $numberofimages) {
|
||||
$imagenumber = 0;
|
||||
}
|
||||
|
||||
//getting the album to show
|
||||
if (!empty($_POST['albumid']) && !is_object($albumobj)) {
|
||||
$albumid = sanitize_numeric($_POST['albumid']);
|
||||
} elseif (is_object($albumobj)) {
|
||||
$albumid = $albumobj->getID();
|
||||
} else {
|
||||
$albumid = 0;
|
||||
}
|
||||
|
||||
if (isset($_POST['preserve_search_params'])) { // search page
|
||||
$search = new SearchEngine();
|
||||
$params = sanitize($_POST['preserve_search_params']);
|
||||
$search->setSearchParams($params);
|
||||
$searchwords = $search->getSearchWords();
|
||||
$searchdate = $search->getSearchDate();
|
||||
$searchfields = $search->getSearchFields(true);
|
||||
$page = $search->page;
|
||||
$returnpath = getSearchURL($searchwords, $searchdate, $searchfields, $page);
|
||||
$albumobj = new AlbumBase(NULL, false);
|
||||
$albumobj->setTitle(gettext('Search'));
|
||||
$albumobj->images = $search->getImages(0);
|
||||
} else {
|
||||
if (isset($_POST['favorites_page'])) {
|
||||
$albumobj = $_myFavorites;
|
||||
$returnpath = $_myFavorites->getLink($pagenumber);
|
||||
} else {
|
||||
$albumq = query_single_row("SELECT title, folder FROM " . prefix('albums') . " WHERE id = " . $albumid);
|
||||
$albumobj = newAlbum($albumq['folder']);
|
||||
if (empty($_POST['imagenumber'])) {
|
||||
$returnpath = $albumobj->getLink($pagenumber);
|
||||
} else {
|
||||
$image = newImage($albumobj, sanitize($_POST['imagefile']));
|
||||
$returnpath = $image->getLink();
|
||||
}
|
||||
}
|
||||
}
|
||||
/*
|
||||
echo "<ol><li>" . $heading . "</li>"; // 1
|
||||
echo "<li>" . $speedctl . "</li>";
|
||||
echo "<li>" . $albumobj . "</li>"; // albums (3)
|
||||
echo "<li>" . $imageobj . "</li>";
|
||||
echo "<li>" . $width . "</li>";
|
||||
echo "<li>" . $height . "</li>";
|
||||
echo "<li>" . $crop . "</li>";
|
||||
echo "<li>" . $shuffle . "</li>";
|
||||
echo "<li>" . $linkslides . "</li>";
|
||||
echo "<li>" . $controls . "</li>"; // 1
|
||||
echo "<li>" . $returnpath . "</li>"; // /zenphoto/bouquetins/2008-08-30_Bouquetin_9266.jpg
|
||||
echo "<li>" . $imagenumber . "</li></ol>"; // 0
|
||||
*/
|
||||
// 1albums (3)1/zenphoto/bouquetins/2008-08-30_Bouquetin_9266.jpg0
|
||||
|
||||
echo cycle::getShow_MOD($heading, $speedctl, $albumobj, $imageobj, $width, $height, $crop, $shuffle, $linkslides, $controls, $returnpath, $imagenumber);
|
||||
}
|
||||
?>
|
||||
<div id="slideshowpage">
|
||||
<?php // /zp_extension/slideshow.php
|
||||
// printSlideShow($heading = true, $speedctl = false, $albumobj = NULL, $imageobj = NULL, $width = NULL, $height = NULL, $crop = false, $shuffle = false, $linkslides = false, $controls = true)
|
||||
/*
|
||||
* @param bool $heading set to true (default) to emit the slideshow breadcrumbs in flash mode
|
||||
* @param bool $speedctl controls whether an option box for controlling transition speed is displayed
|
||||
* @param obj $albumobj The object of the album to show the slideshow of. If set this overrides the POST data of the printSlideShowLink()
|
||||
* @param obj $imageobj The object of the image to start the slideshow with. If set this overrides the POST data of the printSlideShowLink(). If not set the slideshow starts with the first image of the album.
|
||||
* @param int $width The width of the images (jQuery mode). If set this overrides the size the slideshow_width plugin option that otherwise is used.
|
||||
* @param int $height The heigth of the images (jQuery mode). If set this overrides the size the slideshow_height plugin option that otherwise is used.
|
||||
* @param bool $crop Set to true if you want images cropped width x height (jQuery mode only)
|
||||
* @param bool $shuffle Set to true if you want random (shuffled) order
|
||||
* @param bool $linkslides Set to true if you want the slides to be linked to their image pages (jQuery mode only)
|
||||
* @param bool $controls Set to true (default) if you want the slideshow controls to be shown (might require theme CSS changes if calling outside the slideshow.php page) (jQuery mode only)
|
||||
*/
|
||||
//printSlideShow(true,false); // OK
|
||||
printSlideShow_Mod(true,false);
|
||||
//printSlideShow(false,false);
|
||||
|
||||
// /zp_extension/slideshow2.php
|
||||
// printSlideShow($heading = true, $speedctl = false, $albumobj = NULL, $imageobj = NULL, $width = NULL, $height = NULL, $crop = false, $shuffle = false, $linkslides = false, $controls = true)
|
||||
/*
|
||||
* @param bool $heading set to true (default) to emit the slideshow breadcrumbs in flash mode
|
||||
* @param bool $speedctl controls whether an option box for controlling transition speed is displayed
|
||||
* @param obj $albumobj The object of the album to show the slideshow of. If set this overrides the POST data of the printSlideShowLink()
|
||||
* @param obj $imageobj The object of the image to start the slideshow with. If set this overrides the POST data of the printSlideShowLink(). If not set the slideshow starts with the first image of the album.
|
||||
* @param int $width The width of the images (jQuery mode). If set this overrides the size the slideshow_width plugin option that otherwise is used.
|
||||
* @param int $height The heigth of the images (jQuery mode). If set this overrides the size the slideshow_height plugin option that otherwise is used.
|
||||
* @param bool $crop Set to true if you want images cropped width x height (jQuery mode only)
|
||||
* @param bool $shuffle Set to true if you want random (shuffled) order
|
||||
* @param bool $linkslides Set to true if you want the slides to be linked to their image pages (jQuery mode only)
|
||||
* @param bool $controls Set to true (default) if you want the slideshow controls to be shown (might require theme CSS changes if calling outside the slideshow.php page) (jQuery mode only)
|
||||
*/
|
||||
//printSlideShow(true,false); ?>
|
||||
|
||||
<?php //voir la vitesse printSlideShow(true,true); ?>
|
||||
</div>
|
||||
<?php zp_apply_filter('theme_body_close'); ?>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user