kPicasa Gallery

This is my first WordPress plugin. I was tired of always having to manually edit, resize, upload and label my pictures to my online gallery. I then discovered Picasa. It works like a charm and lets you retouch your pictures and upload your pictures easily to the Picasa Web Albums site, along with all the labels you’ve created.

So I wrote this plugin to replace Coppermine as my online gallery. I didn’t need anything advanced like Coppermine has to offer. I simply needed a place to upload pictures in albums, with my own captions.

It uses the Lightbox library to display the pictures, but I might switch to Highslide, it looks awesome and it feels much quicker.

Check out the demo
Get it from WordPress.com

Please vote for my plugin on the WordPress page above. Whether you like it or not!

82 Responses to “kPicasa Gallery”

  1. Jeff Says:

    Do you still really appreciate my comments:)….

    I thought today, as I worked on styling the inside of the album, that it would be cool to just have the images there, no captions. Then, when you hover over the image, it attaches one of those overlaid comment boxes, showing the comments, and then you could still see them of course in lightbox when you click on the thumbnail for a larger image.

  2. Guillaume Says:

    Well this is where I’ll have to draw the line. While I appreciate your feedback, most of the things you’re requesting have not been asked by anyone else. I’m not sure I have the motivation to spend time on stuff that will be used by very few people. I know you’re asking kindly, but unfortunately I’m not going work on that.

    Don’t take it personal, when I created the plugin, it was because I couldn’t find one that did what I wanted. Since I was the only one to do this at the time, I thought other people would like it. I think I’ve implemented pretty much everything that I thought was valuable. I’m not saying that I’m not going to push out new releases, but unless someone comes up with something big, this plugin is pretty much complete.

    And by the way, I’m now creating a new post for every version, I would appreciate if you could comment in the “current” version post. Thank you 🙂

  3. Patrick Mark Says:

    Great job on the plugin! The best gallery project I’ve worked with but I’m also having the same problem mentioned by Jeff Rothe in December.

    The lightbox function works well in IE but does not operate in Firefox. Instead a prompt appears asking the reader to download the photo.

    Any suggestions?

    Ok, this is strange…. As I was typing this entry, I checked the site again and now lightbox works with both IE and FFx… Any ideas of why this may be occuring?

    Thanks and great work!

  4. Jeff Says:

    Two things.

    One, do you have the Word Press Lightbox plugin installed? That can create conflict btw the two plugins.

    Two, you have to make sure the page fully loads before Lightbox will work, otherwise the image will still display, but it just opens up on a white page.

  5. S.K Says:

    Hi,

    It is a godsend plugin for me after languishing with Flickr and its habit of showing the $ sign if you want more than 3 albums!

    Ok, I have a problem. The pagination links (1, 2 etc) and the next, previous links on the expanded image do not work for me. Is it a problem with my theme or something else?

    Could you please help me.

    Regards,

    S.K

  6. Guillaume Says:

    Hi,
    First, make sure you are running the latest version. This was a known bug in 0.1.0.

    If it still happens, could you point me to your blog?

    Thanks!

  7. S.K Says:

    Guillaume,

    I’m using the latest version.

    Beats me why it is not working properly and what is breaking it.

    Please view the album page here:

    http://cyberbrahma.com/photo-gallery/?album=BaraChukiFalls

    Thanks

    S.K

  8. S.K Says:

    I found the reason for the problem. It is the Google Analyticator plugin that causes this.

    And the problem of highslide not functioning and the link makes the image the image to be downloaded instead of expanding using highslide.js persists.

    Can you please provide a solution for the download issue. Yes. I use lightbox2 plugin from stimuli.ca (Slickr plugin). Does that cause this download problem?

    Help!

    S.K

  9. S.K Says:

    Hi, itz me again!

    The download problem occurs only if I select highslide. It works well with lightbox.

    Any solution please!

    S.K

  10. S.K Says:

    4th time in a row!

    I have solved the “download” problem by correcting the version number of highslide.js mentioned wrongly as “1.0” in kpicasa-gallery.php.

    Cheers!

    S.K

  11. Alex Says:

    Hey Guillaume,

    what a great plugin. I just have some questions. Is it possible to resize the thumbnails to have them bigger on the post or even load the orginal picture in the post instead the thumbnail, without any clickable functionality?

    Is there any possibility that the gallery would work if I right something into the post? Everytime I write a text to the post it didn’t work 🙁 . It would be great to make this possible.

    Here is the page I’m working on. The first post is used with your plugin. The second with frank bueltge. But it should look like the third post. This size of images, which is the original on picasa and not clickable and text in the post, if possible.

    Thank you so much for this plugin and your help.

    Alex

  12. Guillaume Says:

    S.K, what can I say… great job! Did you change “1.0” for “3.3.6”?

    Alex, the thumbnail size will be implemented in the next release. You are not the first one to ask!

    Right now, it is not possible to write anything else but KPICASA_GALLERY. The reason is simple – I would have no way of knowing if the person is blogging about kPicasa, or if they really want to include the gallery in the post. I’ll try to make some under-the-hood modifications in the next release so this behavior remains the same, but in a way that you can easily modify the PHP source yourself to make it work. But that way, you will never be able to blog about kPicasa.

    And by the way, your site is absolutely gorgeous!

  13. S.K Says:

    Thanks Guillaume.

    Yes. I changed 1.0 to 3.3.6.

    But I find that the current version of Highslide.js is 3.3.11

    Could I download and put it in and change the version number in kapicasa-gallery.php? I didn’t want to rush doing it, lest it will break the plugin!

    Regards,

    S.K

  14. Alex Says:

    Hi Guillaume,

    thanks for your answer and especially your comment about my website 🙂

    Looking forward to see the thumbnail feature coming in your next version. I tried it out already and changed ThumbPath to FullPath. Worked fine in Firefox but not in IE, it just didn’t show the pictures.

    because of text in the post. Isn’t it possible that you say in your plugin people have to put in [KPICASA_GALLERY] so it won’t confuse if people would write about it, since they won’t use the square brackets. But I’m sure it is more difficult than this.

    Thanks a lot for your great plugin

    Alex

  15. Jay Says:

    Great plugin, it works exactly how I want it. Easy to set up and easy to use. And it integrates seemlessly with my wordpress page.

    Thanks for all the hard work!

  16. Guillaume Says:

    Alex, I mean someone wouldn’t be able to write a tutorial about kPicasa. As soon as they explain the exact command to type, it would process it instead of simply output that string. Anyway I’m keeping this suggestion for the next version!

    Right now you can double the size of the thumbnails in an album (but not of the album cover) by searching for “media_thumbnail[1]” in kpg.class.php and replacing with “media_thumbnail[2]”. But that’s pretty much all you can easily do for now. Again, wait for next version (my guess would be sometime in March).

    Jay, thanks!

  17. Alex Says:

    Hey Guillaume,

    I understood what you meant 🙂 . Thanks for the suggestion to change media_thumbnail[1] to [2] . It’s still a little bit too small, but I can wait until the next version :). Looking forward to see it.

    Thanks a lot and appreciate all your hard work.

    Alex

  18. Thomas Says:

    Ive posted on wordpress forum but didnt get any answers hopefully you guys can help

    when using firefox for kpicasa plugin and lightbox as the method to display images, if the thumbnails havent finished loading you get a download prompt instead of lightbox when you click on the thumbnails.

    Ive also posted in http://wordpress.org/support/topic/147260?replies=3
    looks like there was a solution but wasnt posted.

    Did anyone else experience this? Any help is appreciated. Thanks.

  19. Guillaume Says:

    Hi Thomas. Sorry I didn’t see your post on the WP forums. I’m notified as soon as someone comments here, but I only check the WP forums about once a week.

    Unfortunately the behavior you are experimenting is the way Lightbox works. I don’t control this. I suggest you try Highslide. Other people have posted comments stating that they are also having this problem, but AFAIK there’s nothing I can do. Sorry!

  20. S.K Says:

    I think the download action is triggered by a probable hook contained in the longish stringed download link from Picasaweb.com. It should be a Picasa-related issue since it doesn’t happen with Flickr, under similar circumstances.

    S.K

  21. H.T.Chen Says:

    I like this plugin so~~~~ much~~~
    thank you!!!!
    thank you so~~~~ much~!! 🙂

  22. July Says:

    I like this plugin so much, good job!
    As a suggestion, I think it would be very nice if it comes with a sidebar widget with slideshows of random or latest photos..

    Thank you!!

  23. Guillaume Says:

    July, thanks for the kind comments!

    I’m pretty sure I’ve seen some other plugin out there doing exactly what you need! I’m sure you’ll find it on Google.

  24. Alex Says:

    Hey July,

    try out Picasa Photos: http://www.sandaru1.com/2007/07/11/picasa-widget-updated/

    It’s not a slideshow but you can display random or latest photos from your picasa account on the sidebar.

  25. Dave Says:

    I like your plugin and I have a suggestion. I like to use the plugin with more than one picasa accounts and a thing like KPICASA_GALLERY(account1,account2) would be very nice, or another way to do that.

    Thanks and good job!

  26. Guillaume Says:

    Dave, there’s an undocumented feature that allows to connect to an alternative Picasa account, but they have to be in different post/pages. Use the following syntax:

    KPICASA_GALLERY(username:yourAlternativeAccount)

  27. Pihus Says:

    Hi!
    Has anyone solved the problem with highslide? I tried to change the highslide version in kpicasa_gallery.php but it dind’t work.
    Btw, I edited the line ” wp_enqueue_script(‘highslide’, KPICASA_GALLERY_DIR.’/highslide/highslide.js’, array(), ‘1.0’);” was this correct?

  28. Guillaume Says:

    Pihus, I’m not sure I understand what you’re talking about. You tried to upgrade the Highslide version included in kPicasa and it went wrong?

  29. Pihus Says:

    Highslide itself works, but not in kPicasa

  30. Pihus Says:

    I made a little sample here:
    http://pihus.pri.ee/?cat=18
    As you can see, highslide works very well but not with kPicasa (though kPicasa does work with lightbox).

  31. Andrew Says:

    WOOOW. This is the best Picasa plugun i have ever meet!!

    ThankS

  32. Guillaume Says:

    Pihus, sorry for the delay, I really didn’t notice your last post!

    I don’t think the last parameter should read ‘1.0’. It’s supposed to be the version number of the script being included. The Highslide version that comes with kPicasa is 3.3.6 so it should be at least that.