kPicasa Gallery 0.1.6
Filed in: Wordpress Add comments
I took advantage of the bad weather outside to update kPicasa Gallery. Before proceeding any further, I would like to thank David Trattnig for his code for the thumbnail size selector and Bill Ritz for his tips on showing private albums.
Here are the new features:
- You can now show private albums (for advanced users)
- You can now select the thumbnail size for the album cover, and its pictures
- Text can now be typed before and after the kPicasa output. The kPicasa call just needs to be on its own line.
Here are the instructions to display a private album:
- Log into your Picasa Web Albums account
- Find the URL of the private album you want to show. For example:
http://picasaweb.google.com/YourPicasaUsername/TripToEurope?authkey=Gv1sRgCILA9ebdxLyZaQ - In that URL, locate the album name
- In that same URL, locate the authkey. Please note that the authkey is 20 characters long and does NOT include the # character that might be at the end of the URL.
- Call kPicasa with the following syntax: KPICASA_GALLERY(TripToEurope#Gv1sRgCILA9ebdxLyZaQ)
April 6th, 2009 at 3:47 am
First of all I love your plugin! It’s very useful!
I have one small request… is it possible to set an url parameter that would filter file names that I would like to show in the given album? Sometimes I don’t want to show all my pics from the album, but only those with *[text]* in the filename.
Btw… I know I can create another album for that, but I don’t wanna screw up my structure just for displaying purposes.
Keep up the great work!
Thanks,
Greg
April 6th, 2009 at 12:16 pm
hi, the plug-in is not working since i update it.
how can i fix it?
thanks, Tom
April 6th, 2009 at 12:23 pm
Greg: While I understand it’s a feature that would be useful for you, I don’t believe this is something that would benefit to a lot of people. If you know PHP, you can probably do it yourself in 15 minutes.
Tom: Make sure you updated to 0.1.7. There’s a bug in the 0.1.6 version.
April 6th, 2009 at 6:59 pm
Hi Guillaume,
Thanks for such a great plugin! This was exactly what I needed for my site ๐
I recently installed the plugin, and I noticed some weird variation for the “Back to Album List” link. For the code [a href=’$backURL’], the first apostrophe sometimes converts to a double-quote.
You can check it out yourself here: http://craisin.com/photos/
– If you click on the first album “Hong Kong 2009, Part 2: Wedding and after” the album description lacks the div style, and is a broken link.
– If you click on the second album “Hong Kong 2009, Part 1: Pre-Wedding” everything displays correctly.
What do you think? ๐
Thanks so much again for creating and sharing a fantastic plugin!!
April 6th, 2009 at 7:26 pm
I would recommend that you try deactivating all your plugins except kPicasa. If kPicasa works correctly (the back link works), and try to activate your other plugins one at a time until you find which one is to blame.
Let me know if it’s another plugin that is conflicting!
April 7th, 2009 at 2:13 am
Hmmm.. ah-hah! You were right!
It turns out the offending plugin is the WordPress Google Analytics plugin (http://yoast.com/wordpress/analytics/), which I’ve left disabled for now.
I’m not too sure what the problem or the solution might be, though. Do you have any thoughts? ๐
Thanks so much for the help and the advice! <3
April 7th, 2009 at 7:20 am
@Guillaume
I think it would be an useful feature… not just for me. I know that it wouldn’t be much work (for you :)), but the thing about custom modifications is… future upgrades are hard to maintain :/.
Please think about it.
Thanks,
Greg
April 7th, 2009 at 8:23 am
Estella: I remember someone else reported a conflict with Google Analytics. I wrote to the author about this, but never got an answer ๐
Greg: You’re right about the pain of maintaining the plugin afterwards. I still think it’s a feature that would only benefit to a tiny minority though. However I’m very open to the idea of finding a way to make kPicasa more extendable (custom code outside of the kPicasa PHP files). I’m not sure what can and can’t be done, but if something can be done, I’m 100% behind it.
April 7th, 2009 at 2:34 pm
Hi there, Great plugin!
I however noticed a slight problem.
If you select a thumbnail size of 288 pixels then the images will only display as 288 pixels when you click on them, this did not affect the 144 pixel setting.
The related line of code is:
$fullURL = str_replace(‘/s144/’, ‘/s800/’, $thumbURL);
from kpg.class.php
I replaced it with this:
$urlstrings = array(‘/s144/’,’/s288/’);
$fullURL = str_replace($urlstrings, ‘/s800/’, $thumbURL);
Thought you might be interested, keep up the good work.
Johann Agnarsson
April 7th, 2009 at 2:36 pm
oh, you might want to add ‘/s72/’ to the $urlstrings array as well.
$urlstrings = array(‘/s72/’,โ/s144/โ,’/s288/โ);
$fullURL = str_replace($urlstrings, โ/s800/โ, $thumbURL);
April 7th, 2009 at 7:51 pm
Jรณhann: Thanks for pointing this out. I released a new version that fixes the problem.
April 10th, 2009 at 12:28 am
I’ve found another bug…
in kpicasa_gallery.php
there’s a line:
print “\n”;
but the file is actually named:
highslide-ie6.css
I’ve got many 404s
April 10th, 2009 at 11:00 am
I’m not sure I understand what you mean. Could you tell me which line number in kpicasa_gallery.php you’re talking about?
Could you tell me what referenced files return a 404?
April 16th, 2009 at 3:23 pm
Hey there,
when leaving the box “Number of pictures to show per page:” blank, i.e. to show all pictures, it shows only one. i’m using the syntax KPICASA_GALLERY()
just to let u know ๐
jeff
April 19th, 2009 at 11:57 am
I just wanted to thank you for the great plugin.
It’s really useful and it looks great!!
If I may note- maybe it would be better to write at the manual that it has to be used by typing `KPICASA_GALLERY` <> (I didn’t know why it ain’t working until I figured it out…)
April 19th, 2009 at 11:58 am
My comment above got scrambled – maybe it would be better to write at the manual that it has to be used by typing `KPICASA_GALLERY` without the apostrophes.
April 21st, 2009 at 7:58 pm
Hi Guillaume!
Thanks again for putting together and developing the kPicasa plugin. I truly enjoy and appreciate it, and your quick responses too!
I’m not sure if it’s possible (and you probably thought of this before too) but I was wondering if you’ve thought about incorporating comments into the kPicasa plugin too?
I’m not much of a developer so I’m not sure if the photo softwares like Lightbox allow for commenting, or if there’s someway to import comments from one’s Picasa page AND also allow people to comment via the plugin interface. (But then for consistency, there’s the problem of the comments also needing to work on the Picasa side too.)
Just wanted to throw the idea out there!
Thanks again for all your hard work! ๐
April 26th, 2009 at 11:02 pm
Why doesn’t anyone publish simple instructions for using their plugins? I have installed your plugin, but don’t know how to use it.
April 26th, 2009 at 11:18 pm
Tim: my girlfriend would say you’re probably looking with guy eyes. Go to the kPicasa page on WordPress.org:
http://wordpress.org/extend/plugins/kpicasa-gallery/
Click on the Installation link, it’s all there.
June 13th, 2009 at 10:44 am
Hi Guillaume,
First of all, thank you for your great Picasa plugin! After having tried many different Picasa plugins I found out that yours is the best one for my needs.
I like the idea of displaying private albums on my photo page, but is there a way to show an overview of all the private albums (like the normal overview of the public ones)? So far I was only able to display one public album in detail with all the photos contained in it.
Thanks a lot!
Nina