kPicasa Gallery 0.2.2

In an attempt to resolve a conflict many people are having with other plugins, kPicasa Gallery is now loaded differently by WordPress. Thanks Salman for the solution!

If you have Google Analytics for WordPress, Digg Digg or TweetMeme installed, please let me know if my fix resolved the issue for you, or if you notice anything else unusual.

For the technical people, add_filter() is now called with priority 9 instead of default priority 10. I’m not sure if I should have went lower than 1 below the default priority. I’m very open to your comments on this!

I also applied Simon Foster‘s correction to diminish the chances of failing to load an internal file.

If your current installation is already working correctly, there’s nothing new for you this time.

Don’t forget to rate kPicasa Gallery on its WordPress plugin page. All votes are appreciated!

36 Responses to “kPicasa Gallery 0.2.2”

  1. andy bird Says:

    Hi there

    thanks for this great plugin I use it on quite a few sites. However, could you let me know what I would need to do so that the album title and the number of photoes does not appear?
    thanks
    Andy

  2. Guillaume Says:

    Hi Andy,
    Add the following to your main CSS file (not the one that comes with kPicasa Gallery):

    #kpg-nbPhotos { display: none; }
    #kpg-title { display: none; }

  3. Andy Bird Says:

    doh!

    should have thought of that! thanks
    andy

  4. Salman Says:

    You are welcome 🙂 just updated to the latest version — thank’s for the great work! 🙂

  5. Gerben Says:

    Hi there,

    I was just wondering how the gallery sorts the album list.. I would like to have my latest published albums on top 🙂

  6. Andy Says:

    Hi – love the plugin, just a question – how can I edit the font size that the album description and captions display as? I can’t find anything in the css file included with the plugin and also in the theme one.
    They appear as (I think( Verdana at around 12-14 point)
    Can I add something similar to the suggestion above (ie: #kpg-title etc)?
    So simple to implement too!
    Andy

  7. Guillaume Says:

    Gerben: the albums are displayed in the same order as on the Picasa Web Albums website.

    Andy: look in the CSS file on line 63-69. You can implement those selectors in your main CSS file if you don’t want to loose your changes next time you upgrade kPicasa Gallery.

  8. Andy Says:

    Yes, I saw those lines but as theres no declaration of font size etc I assumed that this was set somewhere else. So if I just add a font size percentage maybe? in those areas, that should so it?
    Many thanks for the prompt reply, you have saved my bacon!
    Andy

  9. Andy Says:

    Worked like a charm! Just added some font size percentage lines and all is well.
    Thanks again for the help.

  10. Guillaume Says:

    Andy: you can do whatever you want! Just experiment and find what looks best.

    But again, consider adding those modifications to your main CSS file, so next time kPicasa is updated, it won’t overwrite your changes.

  11. Andy Says:

    Yes, I’ll do that for sure Guillaume. I’ve put the website link up that I’ve used the plugin too (Events menu > Gallery), it will make it so much easier for the lady who owns the site to add photos to it.

  12. mercutiom Says:

    I’m having some trouble with any of the gallery option (Thickbox, Lightbox, etc.) not working. I’ve gone through the readme file, and ensured that all the necessary files are in the called directories. Is there something I need to do to make sure this option works?

  13. mercutiom Says:

    Ah, nevermind, I figured it out. Apparently the theme I’m using is very plugin-unfriendly.

  14. Andy Bird Says:

    Hi there
    me again,

    Is is possible to have

    content

    album1

    more content

    album 2

    on the same page? At present is show 1 album but not the second?
    you can see this here..
    http://starmakeruk.org/wordpress/classes/test/

  15. laine Says:

    Dear Guillaume:

    Thank you for your work on this plugin. To call up multiple albums do they all have to be public? I am trying to call up two separate albums based on the syntax from your instructions, but rather than (albumname1, albumname2)I tried (albumname#authkey, albumname2#authkey). So far it only shows the first album. Is there a way to make this work?

    Thanks so much for your help. Sincerely,

  16. chad Says:

    Hello, great plugin! How easy would it be to change the “print css” for the default kpicasa_css.css file to wp_enqueue_style? I like to combine all of my css files into one file and therefore need a way to disable the default css from being loaded. I tried “wp_enqueue_style(‘kpicasa-css’, KPICASA_GALLERY_DIR.’/kpicasa_gallery.css’, false, ‘1.0’, ‘screen’);” but I am clueless and threw a hail mary pass for an interception! Anyway, is this easy to do? Thanks!

  17. Guillaume Says:

    Andy Bird: No, it’s not possible to merge two albums in the same post/page. I don’t think I’ll implement this feature, it’s not kPicasa’s goal.

    laine: I’ll have a look at this, I’m not sure.

    chad: Great suggestion, I wasn’t aware that you could include CSS files like that. I will certainly integrate this in the next version.

  18. chad Says:

    Right on! I didn’t know about it either until I came accross “http://justintadlock.com/archives/2009/08/06/how-to-disable-scripts-and-styles” about 2 weeks ago and my site runs more smoothly because I can control CSS and JS to load on specific pages when necessary or combine CSS into one file… anyway, looking forward to the updates and thanks so much for a great plugin man!

  19. Jonas Says:

    I do have an Stack Overflow at line 870 on every page if I do enable the newest version of your plug-in. Any ideas?

  20. Jonas Says:

    Sorry I forgot something important: The error happens only with IE (8)

  21. Darren Says:

    Hi Guillaume, thanks for the hard work on this plugin!

    I’m just wondering if you could possibly add the ability to show the album date below album list thumbnails and in the description box at the top of individual gallery pages. It’d be much appreciated. Thanks!

    Darren.

  22. Darren Says:

    Sorry for another post so soon…

    For my needs I don’t really need the ‘Place Taken’ property. I understand you may not be able or willing to add a date feature to the plugin so I’m currently cheating and entering the date instead of photo location so the plugin will show it. 😉

    The comment suggesting {display: none;} came in useful so I could hide the photo descriptions, therefore keeping my gallery homepage clean. Thank-you!

  23. Guillaume Says:

    Jonas: could you check if it’s another plugin that’s causing a conflict? Disable all of them except kPicasa. Does it work? If it does, enable them one at a time until you find the that breaks kPicasa.

    Darren: I suppose I could add this in the next version. They would all be hidden by default, but if someone wanted to show that information it would be there.

  24. pdstudio Says:

    Hy!

    It is possible to have a widget on the sidebar to show random images or the newest images uploaded to my gallery?

  25. Guillaume Says:

    pdstudio: Sorry but this is not the goal of kPicasa. There are other plugins that are already doing this, and they’re doing it very well!

  26. Guillaume Says:

    laine: You are right, this is a technical limitation. I’ll see if there’s any way to work around this.

    Basically the page that lists your different albums pulls the RSS feed from Picasa. But that feed does not include private albums.

    Private albums need to be called directly, this is why this feature only works also when calling an album directly.

  27. lyynch Says:

    Hi, Great plugin!

    Not to be thick, but can you use it outside of a post (as a custom field for example, or straight in a template?).

  28. Guillaume Says:

    lyynch: sorry this is not what kPicasa was intended for.

  29. chad Says:

    Is anyone having this problem?

    It seems that when I try to validate a page with kpicasa, it won’t validate xhtml transitional… but if I delete one , then it validates. Is there an extra closed div in the code that shouldn’t be there? When I don’t have the plugin enabled, the page validates correctly.

    yes, no? Is this an easy fix? Thanks!

  30. Lori Says:

    Greetings! Love the plugin! I do have a question, though. I’ve attempted to use the calling specific albums feature, and it seems to work fine if I’m doing it on a parent page. However, every time I start nesting pages and inserting the code on a subpage, it doesn’t seem to work for me. I’ve only had this problem when specifying certain albums.

    Can you give me any advice on what I’m missing? I’m sure it’s simple, but I’m driving myself nuts trying to figure it out. 😀

    Thanks!

  31. Justin Says:

    Love the plugin! Just wondering if there was a way to show the album date? Do you know what I would need to add to the code to accomplish this? Thanks.

  32. johny why Says:

    hi

    great plugin, but having a display problem. the albums thumbs are pushed down on the page. no matter how small i make the thumbnails, even if i show only 1 thumb per row, the top thumb is pushed down on the page.
    http://alexandramore.com/celebrity/gallery/

    any suggestions to eliminate that empty space above the thumbs?

    thanks!

  33. Flo Says:

    an easy to use and “all i need” plugin. thanks so much!

    if i had one wish…i’d love to do something like KPICASA_GALLERY(privateAlbum1#authKey1, privateAlbum2#authKey2, privateAlbum3#authKey3) in order to list several of my private albums at once.
    is that a “wonthappen” or “soontoberelease” enhancement?;-)

    cheers,
    flo

  34. Guillaume Says:

    It’s a “imalreadyworkingonthis” 🙂
    I’m not sure when it’ll be ready, but I’m already working on this.

  35. Flo Says:

    hehe:-) great! thanks!

  36. Guillaume Says:

    chad: the new version now validates. It will be available in the WordPress repository in a few minutes.

    Lori: kPicasa Gallery should work on any page or sub-page (or sub-sub…). Could you make sure that it’s not another plugin that’s causing this?

    Justin: it’s now possible in the new version.

    johny why: I checked the link you provided and it looks fine…?