Posts Tagged plugin

Picasa Wordpress Widget Updated

WooThemes - WordPress themes for everyone

My picasa widget hasn’t been updated for quite a long time. Since then, there was a new widget API – the old widget worked without any problems because the new API is backward compatible, however those API calls are now deprecated. Meanwhile, I’ve received a lot of comments regarding the plugin and I’ve used that input to reshape the features of the update. Thank you all for your comments.

The new widget is a complete rewrite of the old widget. Earlier all options for plugin was in the widgets section. The new version adds a new options page to the “Settings” menu. Once you have installed the plugin, make sure to set your username on the picasa settings page. Once this is done, It’ll download the photo information and cache them. I’ve also added an option to list out the albums in this plugin. So, once the username is set, you can go to the widgets page and add any number of widgets – there you’ll get a list of albums, photo size and number of photos for each widget instance.

If you have uploaded new photos to the picasa albums, you can go to the options page and click on the “Refresh Cache” button to download new photos. Even if you have forgotten to do this, the photos will automatically get updated based on the cache lifetime you have set.

That’s all the features for now – I’ll add more features along the way once the base functionality of stable. Please remember, this is pretty much a complete rewrite, there might be few bugs here and there. If you have found any bugs, make a small comment here :)

Download from here

Tags: , , ,

Wordpress Picasa plugin

There is a quick update on picasa plugin.

If you want multiple users, in the picasa username field, separate users by semicolons ( ; ). You can use the album names inside brackets infront of the username. Separate album names by commas ( , ).

Example : sandaruwang(Adams Peak, IOI 2006);yasaruwan(sivali)

Download from here.

Tags: , , ,

Picasa Widget updated

Edit : Latest update http://www.sandaru1.com/2008/04/04/wordpress-picasa-plugin/

I just updated the picasa widget. Thanks for the comments on the early version. Now, you can select the image size. Then, picasa username field get bit complicated.

If you want to use your whole picasa album you can just type your username. If you want only one album then you can put the album name within brackets(Without spaces). Here is an example : username(album).

If you want to get photos from more than one user, then type all usernames separated by space. You can even use brackets with the usernames.

Click here to download

Tags: , , ,

Picasa wordpress sidebar widget

When I saw cool random photo display gadget at wela’s blog, I also wanted something like that. Earlier I had a gallery2 installed, but when Google released picasa, I found it much easier. It actually optimizes the photos and then uploads. So, I switched to picasa. Fortunately, picasa have RSS feeds for each album :) .

At first I thought of writing a normal wordpress plugin, but then since it’s in the sidebar, I thought of writing a widget. My blog was running wordpress 2.1 and either I had to install the widget plugin or install the new wordpress 2.2(Wordpress 2.2 comes with the builtin support for widgets). Since there are some bug fixes in version 2.2, I upgraded to that.

Then, after coping about three lines of codes into my theme, I widgetized it. Then, finally it’s writing the widget.

Actually, the widget was fairly easy to write because the wordpress itself has a rss parser. Even though, it doesn’t completely parse the RSS given by picasa, I managed to use some regular expressions and get the necessary values.

When I finished writing the widget, I realized that there is no point of downloading the RSS each time when someone requests the site. So, I put a download delay time and the stored the parsed RSS results as a wordpress option.

If you want to try this, click here to download. Copy the file into wp-content/plugins/widgets directory. Then, activate the plugin and add that to the sidebar from Presentation -> widgets. (You should have widgets plugin installed)

Tags: , , ,

Get Adobe Flash playerPlugin by wpburn.com wordpress themes