Mô tả
This plugin add new button to tinymce that allows you insert any of yours albums into post.
No need in downloading your photos into multiple places.
Add entire album into your post in few clicks.
Automatticaly supports by plugins like Lightbox2.
Added template support, if you want custom template just copy loop-picasa.php
file into your template and modify it as you want.
Ảnh màn hình
Cài đặt
Installing The Plugin
Extract all files from the ZIP file, making sure to keep the file structure intact, and then upload it to /wp-content/plugins/
. This should result in multiple subfolders and files.
Then just visit your admin area and activate the plugin.
See Also: “Installing Plugins” article on the WP Codex
Plugin Configuration
To configure this plugin, visit it’s settings page. It can be found under the “Settings” tab in your admin area, titled “Picasa”.
Templating
To make custom template for your gallery just copy loop-picasa.php
file into your template.
Hỏi đáp
- 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 https://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>
Đánh giá
There are no reviews for this plugin.
Người đóng góp & Lập trình viên
“Embed Picasa Album” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.
Những người đóng gópDịch “Embed Picasa Album” sang ngôn ngữ của bạn.
Muốn tham gia phát triển?
Duyệt code, check out SVN repository, hoặc theo dõi nhật ký phát triển qua RSS.
Nhật ký thay đổi
1.0.0
- Initial commit.