Example #1
0
    function theme_content($map)
    {
        global $_zp_current_image, $points;
        ?>
		<!-- Colorbox section -->
		<div id="images">
			<?php 
        $points = array();
        while (next_image()) {
            if ($map) {
                $coord = getGeoCoord($_zp_current_image);
                if ($coord) {
                    $points[] = $coord;
                }
            }
            ?>
				<div class="image">
					<div class="imagethumb">
						<?php 
            if (isImagePhoto()) {
                // colorbox is only for real images
                $link = html_encode(getDefaultSizedImage()) . '" class="thickbox"';
            } else {
                $link = html_encode(getImageURL()) . '"';
            }
            ?>
						<a href="<?php 
            echo $link;
            ?>
" title="<?php 
            echo getBareImageTitle();
            ?>
">
							<?php 
            printImageThumb(getImageTitle());
            ?>
						</a></div>
				</div>
				<?php 
        }
        ?>
		</div>
		<br class="clearall" />
		<?php 
        @call_user_func('printSlideShowLink');
    }
Example #2
0
    function theme_content($map)
    {
        global $_zp_current_image, $points;
        ?>
		<!-- Image page section -->
		<div id="images">
			<?php 
        $points = array();
        while (next_image()) {
            if ($map) {
                $coord = getGeoCoord($_zp_current_image);
                if ($coord) {
                    $points[] = $coord;
                }
            }
            ?>
				<div class="image">
					<div class="imagethumb"><a href="<?php 
            echo html_encode(getImageURL());
            ?>
" title="<?php 
            echo html_encode(getBareImageTitle());
            ?>
"><?php 
            printImageThumb(getImageTitle());
            ?>
</a></div>
				</div>
				<?php 
        }
        ?>
		</div>
		<br class="clearall" />
		<?php 
        @call_user_func('printSlideShowLink');
    }
Example #3
0
					<?php 
if (getNumImages() > 0) {
    ?>
						<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(getBareImageTitle());
        ?>
</a></div>
								</div>
							<?php 
    }
    ?>
						</div>
						<br class="clearall" />
					<?php 
}
?>
					<?php 
@call_user_func('printSlideShowLink');
if ($total == 0) {
    echo "<p>" . gettext("Sorry, no matches found. Try refining your search.") . "</p>";
Example #4
0
					<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") . " »");
Example #5
0
    function theme_content($map)
    {
        global $_zp_current_image, $points;
        ?>
		<!-- Colorbox section -->
		<div id="content">
			<div id="main">
				<div id="images">
					<?php 
        $points = array();
        $firstImage = null;
        $lastImage = null;
        while (next_image()) {
            // Colorbox does not do video
            if (is_null($firstImage)) {
                $lastImage = imageNumber();
                $firstImage = $lastImage;
            } else {
                $lastImage++;
            }
            ?>
						<div class="image">
							<div class="imagethumb">
								<?php 
            if ($map) {
                $coord = getGeoCoord($_zp_current_image);
                if ($coord) {
                    $points[] = $coord;
                }
            }
            $annotate = annotateImage();
            if (isImagePhoto()) {
                // colorbox is only for real images
                echo '<a href="' . html_encode(getDefaultSizedImage()) . '" class="thickbox"';
            } else {
                echo '<a href="' . html_encode(getImageURL()) . '"';
            }
            echo " title=\"" . $annotate . "\">\n";
            printImageThumb($annotate);
            echo "</a>";
            ?>
							</div>
						</div>
						<?php 
        }
        echo '<div class="clearage"></div>';
        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 
        }
        @call_user_func('printSlideShowLink', NULL, 'text-align:center;');
        ?>
				</div><!-- images -->
			<?php 
        @call_user_func('printRating');
        ?>
			</div><!-- main -->
			<div class="clearage"></div>
		<?php 
        if (isset($firstImage)) {
            printNofM('Photo', $firstImage, $lastImage, getNumImages());
        }
        ?>
		</div><!-- content -->
		<?php 
    }
Example #6
0
    <div id="images_tlg">
		<?php 
while (next_image()) {
    ?>

		<div class="image">
			<div id="image_box">
			<div id="image_position">
			<a href="<?php 
    echo getImageURL();
    ?>
" title="<?php 
    echo getImageTitle();
    ?>
"><?php 
    printImageThumb(getImageTitle());
    ?>
</a>
			</div>
			</div>
		</div>


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

	<?php 
printPageListWithNav("« prev", "next »");
Example #7
0
                $lastImage++;
            }
            ?>
									<div class="image">
										<div class="imagethumb">
											<?php 
            if ($map) {
                $coord = getGeoCoord($_zp_current_image);
                if ($coord) {
                    $points[] = $coord;
                }
            }
            $annotate = annotateImage();
            echo '<a href="' . html_encode(getImageURL()) . '"';
            echo " title=\"" . $annotate . "\">\n";
            printImageThumb($annotate);
            echo "</a>";
            printAddToFavorites($_zp_current_image, '', gettext('Remove'));
            ?>
										</div>
									</div>
									<?php 
        }
        echo '<div class="clearage"></div>';
        ?>
							</div><!-- images -->
						</div> <!-- main -->
						<div class="clearage"></div>
						<span style="text-align:center"><?php 
        @call_user_func('printSlideShowLink');
        ?>
<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>
Example #9
0
 				<div id="main">
 					<div id="images">
 			<?php 
        $firstImage = null;
        $lastImage = null;
        while (next_image()) {
            if (is_null($firstImage)) {
                $lastImage = imageNumber();
                $firstImage = $lastImage;
            } else {
                $lastImage++;
            }
            echo '<div class="image">' . "\n";
            echo '<div class="imagethumb">' . "\n";
            echo '<a href="' . html_encode(getImageLinkURL()) . '" title="' . GetBareImageTitle() . '">' . "\n";
            echo printImageThumb(annotateImage()) . "</a>\n";
            echo "</div>\n";
            echo "</div>\n";
        }
        ?>
 					</div>
 					</div> <!-- main -->
		 			<div class="clearage"></div>
 					<?php 
        if (function_exists('printSlideShowLink')) {
            printSlideShowLink(gettext('View Slideshow'), 'text-align:center;');
        }
        printNofM('Photo', $firstImage, $lastImage, getNumImages());
        ?>
 					</div> <!-- content -->
	 		<?php 
Example #10
0
                // wipe out any px settings for plugin, flex set in css
                setOption('osmap_height', '400px', false);
            }
        }
    }
    ?>
						<div>
							<a href="<?php 
    echo html_encode(getImageURL());
    ?>
" title="<?php 
    echo getBareImageTitle();
    ?>
">
								<?php 
    printImageThumb(null, 'check-flagthumb scale');
    ?>
							</a>
							<div class="caption caption-image">
								<?php 
    if (isImagePhoto()) {
        ?>
								<a class="swipebox image-zoom" title="<?php 
        echo html_encode('<a href="' . getImageURL() . '">' . getBareImageTitle() . '</a>');
        ?>
" href="<?php 
        echo html_encode(getDefaultSizedImage());
        ?>
"><i class="fa fa-search-plus fa-lg"></i></a>
								<?php 
    }
Example #11
0
                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());
                ?>
?show=imagepage" title="<?php 
                printBareImageTitle();
Example #12
0
				<?php 
while (next_image()) {
    ?>
					<div class="image">
						<div class="imagethumb">
							<a href="<?php 
    echo getFullImageURL();
    ?>
" rel="lightbox[<?php 
    echo getBareAlbumTitle();
    ?>
]" title="<?php 
    echo getImageTitle();
    ?>
"><?php 
    printImageThumb(getBareImageTitle(), "reflect rheight30 ropacity40");
    ?>
</a>
						</div>
					</div>
				<?php 
}
?>
				</div>
				
				<div id="footer">
					<a href="http://nilswindisch.de/contact/" target="_blank" title="click here to make contact">Contact</a>
				</div>
				
				<div class="clear"></div>
				
Example #13
0
?>
				</ul>
		
				<ul class="list-inline">
					<?php 
while (next_image()) {
    ?>
						<li>
							<a href="<?php 
    echo html_encode(getImageURL());
    ?>
" title="<?php 
    printBareImageTitle();
    ?>
"><?php 
    printImageThumb(getBareImageTitle(), "img-thumbnail");
    ?>
</a>
						</li>
					<?php 
}
?>
				</ul>

				<?php 
printPageListWithNav("« " . gettext("prev"), gettext("next") . " »", FALSE, TRUE, "pager", TRUE, 9);
printTags('links', gettext('<strong>Tags:</strong>') . ' ', 'taglist', ', ');
?>
				<br />
				<?php 
if (function_exists('printGoogleMap')) {
Example #14
0
/**
 * @deprecated
 * @since 1.4.3
 */
function printImageDiv()
{
    deprecated_functions::notify(gettext('Use printImageThumb().'));
    if (!isset($_GET['sortable'])) {
        echo '<a href="' . html_encode(getImageURL()) . '" title="' . html_encode(getImageTitle()) . '">';
    }
    printImageThumb(getImageTitle());
    if (!isset($_GET['sortable'])) {
        echo '</a>';
    }
}
/**
 * Print the entire <div> for a thumbnail. If we are in sorting mode, then only
 * the image is inserted, if not, then the hyperlink to the image is also added.
 *
 * @author Todd Papaioannou (lucky@luckyspin.org)
 * @since  1.0.0
 */
function printImageDiv()
{
    if (!isset($_GET['sortable'])) {
        echo '<a href="' . html_encode(getImageLinkURL()) . '" title="' . html_encode(getImageTitle()) . '">';
    }
    printImageThumb(getImageTitle());
    if (!isset($_GET['sortable'])) {
        echo '</a>';
    }
}