17Aug/0914
PictoBrowser Plugin
I created my first Wordpress plugin. It can show Picasa and Flickr galleries with the help of PictoBrowser in Wordpress.
At first an example of a gallery from flickr:
To display a gallery you just need to have both user id & album id
Configuration Screenshots

PictoBrowser - Insert a gallery

PictoBrowser - general settings
How to retrieve the needed ids and insert an album??
Flickr:
- Visit an album on flickr you want publish in your blog, e.g. http://www.flickr.com/photos/rougerouge/sets/872426/
- you can retrieve username (rougerouge) and album id (872426) from this link, but you need to convert the username into a user id
- this is done by http://idgettr.com/ (in this case the user id is 90537551@N00)
- click on the icon, paste the ids and insert the gallery
Picasa:
- Visit an album on picasa you want publish in your blog, e.g. http://picasaweb.google.com/ksandrmusic/uaprsK
- you can retrieve user id (ksandrmusic) and album name (uaprsK) from this link, but you need to convert the album name into a album id
- this is done if you take a look on the rss feed link, it is valid on the right side on the picasa album page, e.g. http://picasaweb.google.com/data/feed/base/user/ksandrmusic/albumid/5320841682690406545?alt=rss&kind=photo&hl=de so the album id is 5320841682690406545
- click on the icon, paste the ids and insert the gallery
version history
0.3.1
- correct plugin path
0.3
- add more settings to configure PictoBrowser
0.2
- scrap the old code and reimplement it (based on Pro Player WP addon from Isa Goksu)
- add picasa support
- first public version
0.1
- first version
- implement flickr support
Ähnliche Posts:
- Greifswald früher und heute Der ein oder andere wird die Alben von Frank 2.0 schon kennen, trotzdem sind sie absolut einen Beitrag wert. Dort lässt sich wunderbar nachvollziehen, wie sich Greifswald in den letzten Jahren von einem kleinen Drecknest zu einer sehr ansehnlichen Stadt entwickelt hat. Aber irgendwie schon merkwürdig, dass ich mich nur...
August 20th, 2009 - 17:25
nice job. one required feature – availability to insert certain tag, not album in flickr.
August 20th, 2009 - 18:13
Tags are not working with pictobrowser at the moment. If they fix this I will implement it in this plugin.
September 2nd, 2009 - 13:18
great, installed, but how i get the gallery in a page.
sure iam just an anfaenger, is somebody willing to explain
this to me in simple words?
using wp2.7 and lightbox-2,
just want a page with this layout.
how the hack is the image there with a slide slow and dynamic to?.
grtz from wp beginner,
jan
September 2nd, 2009 - 20:04
It is explained here
And how to retrieve the IDs that are used there is explained here
September 5th, 2009 - 21:04
Any way to get it to start out in slide mode, rather than one-picture mode?
Also, is there a way to set parameters on a particular instance .. it would be nice to have a copy of this running in the sidebar, with it limited to say 200×200 and no titles or filenames.
September 5th, 2009 - 21:20
I see it is trivial to add width= and height= tags to the [pictobrowser] object; so done. How about starting it in slideshow mode?
September 5th, 2009 - 21:30
To add width=xx and height=xx in the tag shouldn’t work, I would be surprised.
And there is no attribute to activate the slideshow mode given by pictobrowser.com. So it is not possible for me now
September 5th, 2009 - 21:32
By trivial I meant I modified the code to add it ..
I changed the extract as below, then changed the $this->width and height to $width and $height in the two places they are used.
extract( shortcode_atts( array(
“type” => $this->type,
“userid” => “”,
“albumid” => “”,
“width” => $this->width,
“height” => $this->height), $atts ) );
September 5th, 2009 - 21:27
Ahhh .. I see no method on pictobrowser.com to do that, so perhaps it’s not possible.
September 5th, 2009 - 22:05
FWIW: I think without the ability to create an auto-start slideshow I can’t make use of the PictoBrowser functionality. I guess I’ll keep looking for a photo gallery function that will work for my site. Thanks for being there and commenting!
September 6th, 2009 - 11:45
working fine, be sure your album is public.
December 4th, 2009 - 23:58
Nice. Very nice. I use the Picasaweb version. I think I’d like to use this on our site (under revision at the moment) but there is one problem:
You really need to be able to display the CAPTIONS for the photos. People have all sorts of filenames for photos, some straight out of the camera like DSC671.jpg, some short saved name like 1890.jpg, and some descriptive (mostly Windows users!) like Me in a pink hat.jpg
With your script you only get a description if the file name is descriptive. I can’t go back through 200+ photos and rename them all! Also my users are used to adding photos and then adding a caption.
The plugin MUST be able to display the captions. How is that done?
regards
Hugh
December 5th, 2009 - 10:57
Thanks so far.
http://www.db798.com/pictobrowser/ offers only the ability to display:
image caption (filename, title or whatever the uploader selected as caption) – this is called in the settings “Show Image Titles:”
description/additional notes – this is called “Show Image Notes:”
No other information can be displayed.
December 24th, 2009 - 17:55
Great Plugin.
how do you change the colors of the links and options in the “thumbnail” part?