photos_imagehtml.tpl.php in Album Photos 7.3
Same filename and directory in other branches
Formats single image.
9 theme calls to photos_imagehtml.tpl.php
- photos_album_page in inc/
photos.album.inc - Album view.
- photos_down_page in inc/
photos.down.inc - Photos download (share) page.
- photos_get_info in ./
photos.module - Get photo informaiton.
- photos_image_page in inc/
photos.image.inc - Image page.
- photos_page_image in inc/
photos.page.inc - Latest images page.
File
tpl/photos_imagehtml.tpl.phpView source
<?php
/**
* @file
* Formats single image.
*/
if (!isset($image->href)) {
?>
<?php
print $image->view;
}
else {
?>
<div class="photos_imagehtml">
<?php
print l($image->view, $image->href, array(
'html' => true,
));
?>
<?php
if (isset($image->colorbox)) {
?>
<a class="photos_imagehtml_colorbox colorbox" rel="colorbox_<?php
print $image->pid;
?>" href="<?php
print _photos_l($image->uri, 'origianl');
?>" title="<?php
print $title;
?>">view original</a>
<?php
}
?>
</div>
<?php
}