kPicasa Gallery 0.2.3

Although this is a maintenance release, there are quite a few changes in the code:

  • Moved the configuration page under the Plugins sub-menu
  • Added the Shadowbox picture engine, which works like a charm for both photos and videos.
  • The album summary, location, published date, and number of photos can now be shown or hidden on an individual basis
  • Added the possibility to play a slideshow when using Highslide
  • Made the plugin ready to be translated (using _e() and __() functions)
  • Thickbox can now play videos, although it’s a bit buggy under IE. It was clearly not made for this, it needed a little hack to even work. There’s not much more I can do.
  • Including SWFObject and all the CSS files with the proper WordPress functions (cleaner that way)
  • Fixed a HTML validation problem (minor)
  • Fixed a bug where Thickbox was always called on my server

43 Responses to “kPicasa Gallery 0.2.3”

  1. johny why Says:

    # Guillaume Says: I checked the link you provided and it looks fine…?

    did you check it in Internet Explorer?
    http://alexandramore.com/celebrity/gallery

  2. johny why Says:

    Wishlist:
    -Sometimes Highslide slideshow does a long “loading” when it’s ready to flip to the next slide. Would be great if it could preload in the background while showing the current slide, instead of waiting. Highslide has a ‘preload’ option, but i don’t know if that would do it.

    -If you’re not going to offer Highslide options on your control panel (which is fine), i prefer different Highslide options by default: fade the background, hide the ‘position’ control, and borderless or black border.

    THANKS

  3. Flo Says:

    just to make sure nothing’s wrong on my side, should “KPICASA_GALLERY(privateAlbum1#authKey1, privateAlbum2#authKey2, privateAlbum3#authKey3)” already work with 0.2.3?
    or is it still a “iamalreadyworkingonthis” issue? 😉

    thanks for another great update to 0.2.3!

    -flo

  4. Guillaume Says:

    Flo: it’s not ready yet. Don’t worry it’s gonna be mentionned on this blog. I detail every single change when I release a new version.

  5. johny why Says:

    hi

    sorry if i wasn’t clear. this is a continuation of our chat on another post.
    at this link, in Internet Explorer 7, your gallery is pushed down the page, and there’s a large empty gap above the gallery.
    http://alexandramore.com/celebrity/gallery

    are you seeing that too?

    thanks much for a great plugin!

  6. johny why Says:

    i think i’m getting it, a little. your width is a tad too wide for my theme, so my sidebar is pushing your album down. in kpg.class.php, i changed 100% to 90%, and that did the trick. (i’ve seen a similar issue with jpg’s in my theme).

    now i hope to figure out how to trim down your margins or padding a bit, cuz my page is too wide for low-res monitors.

    cheers

  7. Flo Says:

    Guillaume: maybe interesting for you to know that google has upgraded online storage. at least my paid storage for yearly USD 20,- last night was upgraded from 10GB to amazing 80GB!
    I would assume this results in more people using charming plugins like yours;-)

  8. Guillaume Says:

    johny why: I see what you mean. But I would first look into your own CSS files. kPicasa uses percentages for this exact reason – to only take the space it’s allowed. Otherwise you can add rules to your CSS files to overrule those from kpicasa_gallery.css. That way your changes are not overwritten next time you upgrade.

    Flo: yeah I saw that, pretty nice if you ask me. But I’m never uploading full sized pictures, I always resize them to around 1280 pixels wide. That way you’re using MUCH less space. A very few people will want to zoom in to 100% anyway, the Picasa interface was not really made for that.

  9. Flo Says:

    Guillaume: indeed 80GB is almost a bit too much. But hey! I won’t complain! Experience tells me you never can have enough:-).
    80GB….actually reminds me of using google storage as online drive for any kind of files. But even then 80GB storage would be…a lot!

  10. Ulf Says:

    Hi and THANK you for this excellent plugin!!
    Just moved from Flickr to Picasa and found your plugin.
    Just one question; I want a link at the top (above all the images in an album) that says “View Slideshow” and make that open a slideshow in a new, large window.
    The adress to the slideshow is “http://picasaweb.google.com/(user)/(album)#slideshow/(a number string i dont know what it is)” .
    How do i do that? The (user) is already defined, and also the (album) but what about that (number string) ?

    Cheers!

  11. Garrett Says:

    BUG Report: If you have a photo with a caption and then click on a photo without a caption, the caption from the 1st photo shows on the 2nd. Not clearing the variable? v0.2.3 w/ Lightbox

    Just downloaded and installed, great plugin, exactly what I was hoping for. Good Job! Only suggestion I have is put the “Place ‘KPICASA_GALLERY’ on new line in page or post’ somewhere. The admin panel probably makes sense. I had to hunt it down for a couple minutes.

  12. JohnO Says:

    I recently discovered your plugin and I’m very impressed. Very simple to use and works really well.
    I have one ‘wishlist’ item – would it be possible to allow the album date format to be customisable?

  13. S.K Says:

    Hi

    Thanks for the excellent plugin. I use it as a staple plugin in all my WP installations.

    Can you please include support for FancyBox also. I find it supporting Ajax, iframe and inline video.

    Please consider it.

    Thanks and regards,

    S.K

  14. Guillaume Says:

    Ulf: will be added in the next release. Since it’s a SWF (Flash) file, you will need to select a picture engine that supports Flash videos.

    Garrett: the problem seems to be with Lightbox itself. I’m providing these libraries for convenience, but unfortunately I’m not going to work on their code. As for the usage instructions, they will be added in the next release.

    JohnO: great idea, it will be included in the next release.

  15. Guillaume Says:

    johny why: according to the Highslide documentation, it already preloads 5 pictures by default. I think this behavior is just fine.

    You can probably override the default Highslide options with your own .js file. Since everyone would like to have their own styling, I have to leave this part to you.

    S.K: will be added, but video playback is buggy right now. The author is working on a new version (1.3) that should support videos.

  16. johny why Says:

    thank you for the reference.

    The highslide doc says “When the user clicks a thumbnail the preloading is aborted after the on-going image is loaded”, which sounds like preloading does not occur while viewing an image in highslide– images only preload before i click a thumbnail.

    but there is another tweak which might help, called “preloadNext”. i’m trying to understand how to use it:
    http://highslide.com/forum/viewtopic.php?f=1&t=4299&start=0&st=0&sk=t&sd=a&hilit=preloadNext#p20210

    so, i can create a highslide js using their configurator, and it will work as a drop-in replacement for you highslide.js? that’s awesome!
    http://highslide.com/configurator.php

  17. Guillaume Says:

    johny why: I meant you will need to override these values from kpicasa_gallery.php with your own variables in your own .JS file (or simply at the very very very end of your tag):

    <script type='text/javascript'>
    // don't touch the graphicsDir
    //hs.graphicsDir = '$picEngineDir/graphics/';
    hs.align = 'center';
    hs.transitions = ['expand', 'crossfade'];
    hs.outlineType = 'rounded-white';
    hs.showCredits = false;
    hs.fadeInOut = true;
    hs.addSlideshow({ interval: 5000, repeat: false, useControls: true, fixedControls: 'fit', overlayOptions: { opacity: .75, position: 'bottom center', hideOnMouseOut: true } });
    </script>

  18. Alex Says:

    Hello,
    I’ve a french translation of your plugin, how can I send it to you? I’ve edited both kpicasa_gallery.php and param.php files, adding this line :
    load_plugin_textdomain(‘kpicasa_gallery’,’/wp-content/plugins/kpicasa-gallery/lang’);

    And corrected a couple of lines in param.php where the “domain” of translation wasn’t indicated.

    Second Thing, is-it possible to generate squared thumbnails instead of a reduced view of a picture (in the picture view of an album).

    Sorry for my poor english…

    Alex

  19. Guillaume Says:

    Alex: Super, je vais intégrer cela dans kPicasa. Je prends notes pour les endroits où il manquait le domaine dans param.php

    Je suis sur le point de relâcher une nouvelle version de kPicasa, et j’ai ajusté certains textes ici et là. Je t’enverrai la version “presque finale” ce soir pour que tu puisses ajuster ta traduction.

    Pour ce qui est des petites images carrées, tu peux le faire toi-même à l’aide de ton fichier CSS. Regarde dans kpicasa_gallery.css pour voir comment ça marche.

  20. tof Says:

    How can i display one jpg per albums like your exemple (démo) ???

    Thanks

  21. Guillaume Says:

    tof: Je ne suis pas certain de comprendre.

  22. aenigma Says:

    Hi!

    I really like your plugin, but I don’t want to have to list my photos as public. Based on flo’s comment above and your reply, can I assume that the ability to load multiple private albums on a page is coming in the next/future release?

    Thanks!

  23. Guillaume Says:

    aenigma: I’m currently working on this feature.

    I’m not sure I understand your situation. You do realize that your public albums are available for anyone to see on the Picasa website?

  24. travis Says:

    dude. Am I retarded? How the heck do I show the picasa albums on a page or post? Why don’t you have some link or page for “Documentation” or “Support” or “Here’s how you use this plugin” or “Guide”. Something. I’ve been looking all over your website for this simple information. Why is it assumed I should know what the little tag or code is I must put into a page to display it? Or have it in the settings page for the plugin in wordpress. something? I’m not an idiot and it’s taking me a long time to figure this little info out. Please make it more available.

  25. Chris Jones Says:

    Cher Guillaume,
    Excellent plugin for Picasa but what syntax do I need to add to the tag to only display selected albums? Grateful for your advice.

  26. Chris Jones Says:

    Doh. Sorry for post above I have found where to do this!

  27. dale Says:

    I had the same problem. I am still learning how to use kPicasa, but I found info at http://www.spartanrobotics.org/forums/topic.php?id=21 In short, to enable an album to show on a page or post, type KPICASA_GALLERY(albumname)

  28. Guillaume Says:

    travis: from the tone of your message, I’m tempted to answer yes to your first question. See below for the remaining questions.

    Chris Jones, dale: All the instructions are in the README.TXT file and on the WordPress page. This site is only for announcements and discussions.

    But since people are having trouble, I’ll add the instructions in the configuration page.

  29. cyberhobo Says:

    My CSS partner had me modify kpg.class.php:187 to give the gallery TD tags an id:

    print “”;

    Just thought I’d let you know, cheers!

  30. Kathy Gannett Says:

    I have installed and activated kPicasa but I do not know how to place an album. This insane – I have seached over an hour for documentaion. I have entered the settings screen and entered my google account username. No password is required? Do the albums have to be publi? Mine is. Can I show only one album at a time? I just want a simple slide show with thumbnails under the larger image on the same page – can this plug-in do that? I have tried so many slideshow plug-in already and I don’t like any of them.
    Sorry ofr being so frustrated. What is the code I have to put on the page?

    here is the my attempt:
    http://66.147.244.166/~casadeka/?page_id=304&preview=true&preview_id=304&preview_nonce=bb3943da2c

    Thanks, Kathy

  31. Kathy Gannett Says:

    Help – I just wrote a long email for help insert a kpicasa gallery and it disappeared.
    It’s installed now what do I do?
    Thanks, Kathy

  32. Kathy Gannett Says:

    Disregard the previous post. I managed to get it to work.
    Gracias, Kathy

    PS I still would love to know if there is any detailed documentation.

  33. Kathy Gannett Says:

    Guillaume:
    Thanks for the plug-in. I also had to search for the command to call the plug-in – I finally realized it was right on the wordpress,org site whee i downloaded the plug-in. (oops)

    Sometimes the command works and I see the slideshow and sometimes it does not. On my site 4 pages are calling a slide show. Two show up and two do not. The difference is that the two pages where the gallery does not show up were created BEFORE I installed kpicasa plug-in. Is this known behavior?

    Please see Apartments on the menu. The Studio 2 and Two bedroom 2 were created after i installed kpicasa. The gallery works there. The other studio and Two bedroom pages do not show the gallery.

    Another question – how do I turn off the titel bar for the slideshow.

    Merci beaucoup, Kathy

  34. Kathy Gannett Says:

    3 times I have lost my post as I was about to press “submit” -anyone else having that problem?

  35. Kathy Gannett Says:

    oops – I guess my post made it – phewwwww!

  36. Guillaume Says:

    Kathy Gannett: hmm I don’t think it matters whether the page already existed or not when you installed kPicasa. Could you make 100% sure that the KPICASA_GALLERY call is alone on its own line. Prefereably without any tags around it.

    If it’s still problematic, could you try to disable other plugins and see if it works.

    Will I get a nice rebate if I ever go to Puerto Rico? 😛

  37. Kathy Gannett Says:

    Guillaume:
    Yes, the command is on its own line.
    And I turned off the other 3 plug ins I have and still does”t work. I vene created a new page and the album did not appear. Then I took out the parameter and just wrote kpicasa_gallery and I did get the gallery to show (see Photo Gallery) in the menu. Does it matter if there are spaces before or after the parentheses?

    I have spent hours and days trying to get any slideshow to work on my site but each one had limitations. I would really like to get this working

    By the way, do you have a full list of the parameters that can be passed tp the call. Assuming this works for me, I’d like to take out the title bar of the gallery (with the beige background).

    What do you use to place one photo in a sidebar????

    Yes, come to visit PR. Vieques is a very special place. I would help you in every way possible. See my Trip Advisor ratings – top 10 in PR – and without the beautiful photos I am going to be displaying with kPicasa! Where are you located?
    Paz, Kathy

  38. Kathy Gannett Says:

    http://66.147.244.166/~casadeka/?page_id=359&preview=true&preview_id=359&preview_nonce=e70860ec12

    this is another test page where it does not display.

  39. Guillaume Says:

    I’m located in beautiful Quebec City. We’re expecting a foot of snow tomorrow! Whoo!

    Unfortunately, it’s not possible to put a photo in a sidebar with kPicasa.

    Please note that KPICASA_GALLERY needs to be in uppercase. I just checked and I believe this is the only limitation. There can be spaces before or after the parenthesis, even inside them.

    But since it doesn’t seem to be working in your environment, could you try to remove all unneeded spaces. For example: KPICASA_GALLERY(studio).

    Other than that, I’m really clueless. Even more clueless that some of your pages work and some don’t.

  40. Kathy Gannett Says:

    I put KPICASA_GALLERY(Studio). I still does not work.

    Well- it’s working on the two pages I needed it for – maybe I should be thankful. No – really – I feel awful that it’s not working.

    Where can I research what other users may have experienced… are you the only person who supports thus plug-in?

    How can I remove the title bar?

    Sorry it’s snowing – unless you like snow. I haven’t seen snow for 13 years since I left Boston.

    Please help…

    Kathy

  41. Kathy Gannett Says:

    One more thing – when I go to kPicasa settings and uncheck Display Location, etec of Albums and save it and then return to settings… it is checked again.

    Kathy

  42. Kathy Gannett Says:

    The gallery is working now. Thanks.
    By the way, do you have a full list of the parameters that can be passed to the call. Can I take out the title bar of the gallery (with the beige background).

    In an Album – can I order the galleries? no? I hope so.

    Kathy

  43. Guillaume Says:

    If you look on the WordPress plugins page, all the options are there.

    For the beige album info bar, you can look at the kpicasa.css file and hide it from there.

    As for the album order, it’s the same order as in your Picasa account. Change it there and it’ll change on your site.

    And what did you do to make it work on your site?