Postcasa
Postcasa is a simple Wordpress [Shortcode] to add flash based Picasa slideshows directly inline to your posts.
Example:
Download
Get the plugin here:Postcasa Shortcode, v1.0 (181.13 KB)
You can also visit the official Wordpress Plugin Database page for Postcasa.
Description
There are a lot of great plugins for using Picasa based photos on your blog. So, why write another one?
Most don’t allow you to actually add a simple, inline slideshow - rather, they add all the images to the post and have whizbang slimbox integration, etc.
This humble plugin does nothing of the sort. All it does is add the standard Picasa EMBED slideshow, without needing any of the fancy code. It is designed for simple, but flexible use.
All you need to do is use the [postcasa] shortcode around the RSS feed URL for your Picasa album, and the plugin does the rest.
Example:
[postcasa]http://picasaweb.google.com/data/feed/base/user/miloandrew/albumid/5273127970894080577?alt=rss&kind=photo&authkey=VWY2bThuIvM&hl=en_US[/postcasa]
It supports all of the standard Picasa embed options.
Installation
- Download the code.
- Unzip and copy the
postcasafolder to your wordpress/wp-content/plugins/directory. - Using the Wordpress Administration Plugin panel, activate the Postcasa Shortcode plugin.
- You can now use the shortcode in your posts, e.g. [postcasa]http://picasaweb.google.com/data/feed/base/user/miloandrew/albumid/5273127970894080577?alt=rss&kind=photo&authkey=VWY2bThuIvM&hl=en_US[/postcasa]
Usage
In a nutshell: Defaults are in BOLD and do not need to be specified
[postcasa width= height= size=(small,medium,large,xl,xll) bgcolor=(hexvalue,000000) align=(left,center,right) showcaptions=(yes,no)] RSS Link [/postcasa]
Example:
[postcasa]http://picasaweb.google.com/data/feed/base/user/miloandrew/albumid/5273127970894080577?alt=rss&kind=photo&authkey=VWY2bThuIvM&hl=en_US[/postcasa]
Tutorial:
- Copy the RSS link for your Picasa album directly from the Picasa website (Screenshot 1)
- Edit your post.
- Open the shortcode by typing: [postcasa] (Screenshot 2)
- Paste your Picasa RSS URL (Screenshot 3)
- Finish out the tag by typing: [/postcasa] (Screenshot 4)
- Publish your post.
- View the post to see the results. (Screenshot 5)
Shortcode Options
The plugin supports a number of optional settings, which are listed below:
size
The Plugin has a number of preset sizes that correspond to the Picasa presets.
Settings:
- small (144x96 pixels)
- medium (288x192 pixels) (This is the default if no size/height/width is used)
- large (400x267 pixels)
- xl (600x400 pixels)
- xxl (800x533 pixels)
Usage Example:
- [postcasa size=large]http://MyRSSurl[/postcasa]
Any value in the size parameter overrides explicit height and width settings.
width and height
You can directly specify both width and height parameters if you prefer. Values in these parameters are ignored if you have specified a size preset with the size parameter listed above.
Usage Example:
- [postcasa width=200 height=100]http://MyRSSurl[/postcasa]
- [postcasa width=200]http://MyRSSurl[/postcasa]
- [postcasa height=100]http://MyRSSurl[/postcasa]
align
You can explicitly specify an alignment of where you want the slideshow to be placed. If you do not specify an alignment, it will default to align=left.
Settings:
- left (This is the default.)
- right
- center
Usage Example:
- [postcasa align=center]http://MyRSSurl[/postcasa]
bgcolor
You can explicitly specify a hex background color for the slideshow player. Usually this is seen when you have portrait oriented pictures. If you do not specify a bacground color, it will default to black.
Settings:
- any hex value, e.g. 000000, ffffff, f0b1c2, etc.
Usage Example:
- [postcasa bgcolor=ffffff]http://MyRSSurl[/postcasa]
showcaptions
This option overlays each picture's caption on top of the slideshow. By default, captions are off. You only need to specify this parameter to turn it on.
Settings:
- yes
Usage Example:
- [postcasa showcaptions=yes]http://MyRSSurl[/postcasa]
CSS Styling
This is pretty straightforward. The plugin wraps the embed code in a <p> tag with the class set to "postcasa".
If you want to style the paragraph, simply add some css to your stylesheet. Example:
p.postcasa {
margin: 10px;
padding: 10px;
border: 1px #000000 solid;
}
Frequently Asked Questions
Does the plugin support any options?
Yup. You can find them listed in the Installation section above.
Can't you just use an embed code directly? It's almost as easy!
Sure can, but lots of folks forget to swith to HTML mode first or the WYSIWYG editor messes up the code after the fact, etc. Postcasa allows for adding the shortcode directly to the WYSIWYG editor with no problems. Its a simple plugin designed for easy access, nothing more.
Screenshots
Other Notes…
If you need help with this plugin, leave a comment at the bottom of the page. I’ll do my best to answer any questions that you have.
If you like the plugin, consider dropping a buck or two to say thanks and help with future versions.
Props to…
Thanks very much to planetOzh for the excellent shortcode tutorial, without whom, my plugin would have taken a lot longer to make.


![screenshot-2 Open the shortcode by typing: [postcasa]](http://blog.miloco.com/wp-content/uploads/2008/11/screenshot-2.png)

![screenshot-4 Finish out the tag by typing: [/postcasa]](http://blog.miloco.com/wp-content/uploads/2008/11/screenshot-4.png)






4 comments
Awesome! Simply AWESOME! I soooooo need this plug in!
[...] POSTCASA,调用Picasa上的图片形成Slideshow效果。 本插件可以快速的调用Picasa上的图片来生成SlideShow效果。 [...]
Hi friend! This is very good plugin, but i couldnt use it. When i tried with my album, just using the shortcode without any options, It dont appear, but the indication of a flash is there, but it all blank. Im using wordpress 2.7. Any ideas?
Hi Pedro! Thanks for dropping a note - sorry that you are having problems! Postcasa does indeed work with 2.7, as this page is hosted by 2.7… What is the RSS feed URL for your album?
Leave a Comment