<?php

/*
 *  Template for API photo
 */
$photo = WordpressPhotoAlbum::getPhoto($params['photo_id']);
if ($photo) {
    status_header(200);
    ?>


    <?php 
    if (is_admin_bar_showing()) {
        ?>
        <style>
            .popup-photo {
                top:25px;
            }
        </style>
    <?php 
    }
    ?>


    <div class="photo-summary">
        <span class="photo-position">
            <?php 
    echo WordpressPhotoAlbum::__t('singular_name') . ' ' . $photo->additionalInfo->position . ' ' . WordpressPhotoAlbum::__t('of') . ' ' . $photo->albumInfo->count;
    ?>
        </span>
        <span