WordPress.org

Plugin Directory

Embed Picasa Album

Allow insert picasa album into posts and pages via short code.

How to open images in lightbox

Just install something like lightbox plugin it will automaticaly open all images in lightbox

How to theme result

Just copy loop-picasa.php file into your template.

How to paginate result

Just copy loop-picasa.php file into your template.

And change it to something like this:

<p>
<?php
$total = count($photos); // number of images
$per_page = 6; // count of images to show per page
$current = isset($_GET['picasa_page']) ? max(1, intval($_GET['picasa_page'])) : 1; // current page number

// render pager http://codex.wordpress.org/Function_Reference/paginate_links
echo paginate_links( array(
    'format' => add_query_arg('picasa_page', '%#%'),
    'current' => $current,
    'total' => round($total / $per_page)
) );
?>
</p>

<ul class="embpicasa">
<?php for($i = $current; $i < $current + $per_page; $i++): $photo = $photos[$i];?>
    <li>
        <a title="<?php echo $photo['title']?>" rel="lightbox[<?php echo $id?>]" target="_blank" href="<?php echo $photo['fullsize']?>">
            <img src="<?php echo $photo['thumbnail']?>" alt="<?php echo $photo['title']?>" />
        </a>
    </li>
<?php endfor;?>
</ul>

Requires: 3.3.1 or higher
Compatible up to: 4.2.2
Last Updated: 2015-5-29
Active Installs: 1,000+

Ratings

4.3 out of 5 stars

Support

1 of 3 support threads in the last two months have been resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1 67,3,2
0,1,0
0,1,0 100,1,1
100,1,1 100,1,1
100,2,2
100,2,2