Wordpress Picasa XML Gallery Plugin (updated version with Lightbox2 support)


A while back I started using v0.95 of the WordPress Picasa Viewer plugin by Dieter Leibold for this blog. However, the plugin had a couple of issues which I fixed. I tried contacting Dieter in order to publish the updated version on his site. Unfortunately, I did not receive any reply so far.

Therefore, I publish an updated version of the Wordpress Picasa XML Gallery Plugin with the following new features and bugfixes:

Download (..and put into /wp-content/plugins/)

Installation

Please refer to the instructions taken from the original plugin site.

  1. Copy WP-Picasa-Viewer.php (and view.php) to /wp-content/plugins
  2. Activate the plugin using the admin interface
  3. Create /wp-content/galleries/ and make sure it is readable by your web server (chmod 755, public read and execute permission)
  4. Export a Picasa gallery using the XML template — Select the images you want and use the Folder->Export as Web Page menu item, but you can also right-click on a folder name in the folder view and choose “Make a Web Page”.
  5. Upload the entire exported gallery directory to /wp-content/galleries/GalleryName/
  6. Create a new post, or modify an existing one and add
      { gallery [GalleryName] }

    somewhere in it. (GalleryName is the name of the directory that you uploaded in the previous step)

Demo

See the latest version of script in action together with the Lightbox2 plugin on any of my photo posts. Here is a sample gallery of my trip to Ayers Rock, Australia:

Auf dem Weg...Kata Tjuta vom Flieger ausin Ayers Rock...angekommen im ResortLookout am ResortTorben&AlexDie WuesteFliegenplageein neues Danger-Schilddas Resort CenterThorny Devil (ausgestopft)unglaublich roter SandThe Olgas (Kata Tjuta)The OlgasTorben, Alex, auf der Bankzwei der Domes von den OlgasmittendrinUluru von weitemAyers Rock leuchtet im SonnenuntergangTorben&MattSonnenaufgang am Ulurudas Leuchten hat sich die ganze Zeit ueber geaendertWe don't climb the Rock!langsam geht die Sonne ueberall aufHoehlen am Fuss des Uluruich vor dem Rock2007_06_10_09_49_38.jpgMutitjulu WaterholeDesert OakRegen ueber Sydney auf dem RueckflugSydney CBDHarbour Bridge vom Flieger

Related Articles

Informationen und Links

Hier kannst Du kommentieren, einen Trackback setzen oder von Deinem Blog auf diesen Blog verlinken.


Weitere Einträge
BOINC (finally) got style…
Web-FTP Zugriff für ein HostEurope WebPack mit net2ftp

Recent Comments


Kommentieren

Hier kannst Du einen Kommentar hinterlassen. Einfache HTML-Befehle sind erlaubt.

Geschützt durch WP Hashcash

Kommentare

Hallo ich versuche gerade das Plugin zu benutzen doch wenn ich es in den Ordner /plugins kopiere so wird es nicht im Pluginsmenü angezeigt also ich kann es nicht aktivieren. (Wordpress 2.2.1 und Theme: glued_ideas_subtle) Ichabe es bereits merfach umbenannt (auch das phps in php umgewandelt)

Ja, das lag am HTML Markup der .phps-Datei. Sollte jetzt behoben sein…

Bitte die Datei noch einmal downloaden. Es wird jetzt kein Umbenennen mehr noetig. Lediglich die heruntergeladene .php Datei in das /wp-content/plugins/ Verzeichnis hochladen.

Viele Gruesse,
Torben

Jetzt funktioniert es. Danke für das verdammt praktische Plugin.

[...] 來源: http://blog.schreiter.info/ [...]

Moin Moin
ich habe mir Ihr Plugin installiert und dabei festgestellt das es mit der neuen Wordpress Version nicht geht.
Auf der Test Seite ist WP 2.2.3 Installiert
http://www.test.fernfahrerblog.de
auf der http://www.fernfahrerblog.de ist Version 2.2.1 Installiert und dort geht es.
Siehe eintrag http://www.fernfahrerblog.de/?p=57
Woran kann das liegen?
Mit Freundlichen Gruss Michael

I am having an issue with this plugin that I am wondering if I could get some assistance for.

I love this plug-in and want to continue using it, but it does not allow me to have a static homepage. I have set the “Use static page as home page” option in the Option>Reading menu. It works fine until the Picasa XML plugin is activated. After that, it defaults back to using the blog page as the homepage. I have looked at the code, but nothing is jumping out.

Any thoughts or ideas on how to fix this??

Thanks for great plugin. Using it on http://www.pamnews.com

[...] Visit [...]

@Michael: Ich kann den Fehler auf den von dir geposteten Links leider nicht nachvollziehen. Bei mir selbst laeuft WP 2.2.3 problemlos produktiv mit dem Plugin…

@Kim: Haven’t had the time to check it myself. But actually I have no idea what could cause the issue. Are you sure that it is definitely related to this plugin?

@Christoph: Thanks for using it… ;)

Thanks Torben! Yes, I am fairly certain it is tied to this plugin. I haven’t figured it out yet. Thanks for your response.

Hallo Torben,

super Plugin, funktioniert einwandfrei! Nur ein Problem habe ich: Wenn ich bei WP 2.3.3 unter Optionen/Lesen die Startseite als statische Seite festlege, und die Blogseite als eine andere Seite, funktioniert das nicht mehr, wenn ich dein Plugin aktiviere (dann ist die Blog-Seite wieder die Startseite)… Hast Du eine Idee?

Hallo Thorben,

das Plugin ist großartig, aber ich habe plötzlich Probleme damit :-(
Wenn ich ein Foto im Blog hinzufügen möchte und es über das Plugin auswähle, reagiert mein Firefox so, als wollte ich es öffnen bzw. downloaden.
Was kann ich da machen ??

LG von Teneriffa,

Markus

Any idea where a “Gallery “*****” is currently not (yet) available…” message might come from?

(where ***** = my gallery)

Hallo thorben,

habe WP 2.5 installiert und bekomme auch die Meldung “Gallery “*****” is currently not (yet) available…”

Hast du eine Idee ???

Hallo Thorben,
auch ich hatte bei der Benutzung deines Plugins das Problem, dass die statische Startseiten bei Wordpress nicht mehr funktionierten. Also ich mir dein Quelltext angesehen hatte, hatte ich die Vermutung, dass vielleicht eine deiner Variablen mit den Variablen von Wordpress in Konflikt gerät und es daher zu den Problemen kommt. Da ich keine Lust hatte den Code jetzt im Detail zu untersuchen, habe ich einfach alle Variablen mit dem Präfix picasa ersetzt. Jetzt funktioniert das Plugin einwandfrei. Schau dir vielleicht noch einmal deinen Quelltext an, möglicherweise ist eine globale Variable unglücklich gewählt.

P.S. Bei mir funktioniert dein Plugin mit WP 2.5 einwandfrei. Bei meinem Provider ist aber PHP 5 installiert. WP 2.5 braucht mindestens die Version PHP 4.3.

ah wonderful! I had trouble with default permissions. I uploaded everything, but when I do it doesn’t even had “read” permission, so after figuring that out and setting everything…works like a charm.

Thank you!

[...] If this has worked and you like what you see check out the plugin here. [...]