WordPress.org

Forums

Picasa XML plugin? (57 posts)

  1. shinyidolcom
    Member
    Posted 10 years ago #

    so I am not that great about these things, but I really like the galleries that Picasa makes. They have a raw XML output.
    Would it be possible to make a plugin or tool that you could add galleries that look like your template?

    just a thought.

  2. dylan
    Member
    Posted 10 years ago #

    I know I would use the hell out of such a thing, if there was one.

  3. Yngwin
    Member
    Posted 10 years ago #

    Sure that should be possible.

  4. shinyidolcom
    Member
    Posted 10 years ago #

    anyone interested in making this possible?

  5. Joshua Sigar
    Member
    Posted 10 years ago #

    Can you post the xml output?
    here: http://paste.uni.cc/

    and what the plugin supposed to do??

  6. shinyidolcom
    Member
    Posted 10 years ago #

    what would the plugin do?
    use the gallery structure of picasa and intergrate it into a WP blog. Since a good simple gallery that is easy is difficult to come across for WP.

    I've tried G2, and found it to be very slow.
    I've tried Coppermine, and found it to be far beyond what I need.
    I've tried Exibit, and couldn't get it to work.
    I've tried RumGallery, and couldn't get it to work either.

    Picasa galleries are just so clean and simple. Image, click to view, click button for next.

    Just an idea. Might be out of the question.
    I added a 12 photo XML output here
    http://paste.uni.cc/6654

  7. blueorder
    Member
    Posted 10 years ago #

    Have you tried Simple PHP Gallery? http://relativelyabsolute.com/spg/

    That is the one I use and wasn't hard to integrate...

  8. Roy
    Member
    Posted 10 years ago #

    I'm using Minigal
    It's a galleri using flatfile instead of MySql. They are coming with a new release soon.

  9. sucresemoule
    Member
    Posted 10 years ago #

    I have just developped a php4 script that parses the Picasa XML and generates web pages.
    http://www.yswood.com/picaweb

    It uses Smarty (for caching and templates) and is very fast and very configurable.

    No database needed.

  10. Beau Collins
    Member
    Posted 10 years ago #

    I'm in the middle of developing a plugin for myself to use to help integrate WP with Picasa. I want to see how useful others may find it.

    This is basically how it would work:

    1. Export Picasa Photo album with the XML option
    2. Upload that folder (via ftp) to a user specified folder in the wp-content folder
    3. Go to Manage -> Picasa in your WP admin where the uploaded albums are listed.
    4. Click on an album which creates a post that you can add content to, write about it, and publish it.

    Each album will be a single post, not each photo. I'm building in some configurable options that I would use such as being able to choose a custom template for posts that are Picasa albums.

    This plugin will only be useful to those who can access ftp to upload folders to their server, otherwise I haven't found a way to upload complete directories via a html/broswer interface.

    I have written the script that parses the xml and creates posts from uploaded folders but haven't created the gallery viewing portion.

    If it sounds useful to you and there are some certain features that you think would be nice email me at beaucollins@gmail.com.

  11. Jaqueline
    Member
    Posted 10 years ago #

    Very interesting! I use PICASA at my own computer, and I was searching it´s relation to the "Hello" service (I saw something about it at Orkut).
    If you need a tester, I can do it. I´m just making a whole new website with WP 1.5, so, just after that I will migrate my real website to the 1.5 new templates/plugins/features.
    :)

    I upgraded my old website to 1.5 and I´m sooo sad I lost the "Add" button of the Wp-Photos , and I´m so stuped to make it work again.

  12. High-Fidelity
    Member
    Posted 10 years ago #

    I've created a little plugin... you just upload the exported XML gallery to /wp-content/galleries/NAME and then instert something like { gallery [NAME] } in your post and it'll replace that string with all the thumbnail images, which are linked to the full size images that picasa has exported for you.

    Quick and simple, but works pretty well for me. A quick example at http://www.benlyall.com/

    The only post on that page contains only three lines, which are
    { gallery [Enzo] }
    { gallery [Airshow] }
    { gallery [Airshow 2] }

    If anyone is interested, let me know.

  13. ArmageddonDesign
    Member
    Posted 10 years ago #

    High Fidelity,

    The output for that is really clean. I like it a lot. I was thinking that using your plugin plus EzStatic, it would be really easy to create multiple standalone gallery pages.

    Are you planning on releasing your plugin for mass consumption?

  14. tyggy
    Member
    Posted 10 years ago #

    High Fidelity,
    Everyone is in need of such a plug!
    http://words.intimateimmensity.net/2005/01/31/picasa-and-wordpress/

  15. High-Fidelity
    Member
    Posted 10 years ago #

    Ok... I've made it available, even though it's really basic and doesn't actually do that much at the moment. It is useable though, which is pretty good.

    Check out http://www.benlyall.com/ for more info, and a download link.

    Ben.

  16. NuclearMoose
    Member
    Posted 10 years ago #

    Hi-Fi,

    I just installed your plugin, and it's misbehaving. Specifically, it is looking for the gallery folder in wp-content/plugins/... and not simply under wp-content/galleries/galleryname/.

  17. High-Fidelity
    Member
    Posted 10 years ago #

    Can you point me towards an example?

    Edit: I've made a minor change to the script that could make a difference.

    Specifically, what is referencing the plugins directory... is it that the images are being looked for in the plugins directory, or is the script looking for the index.xml file in the plugins directory?

  18. NuclearMoose
    Member
    Posted 10 years ago #

    Here is a link to my post.

    Can't find file /wp-content/plugins/../galleries/peace_country/index.xml.

  19. High-Fidelity
    Member
    Posted 10 years ago #

    It's actually looking in the right place. The .. in the path tells it to go up a directory... it's a bit of a kludge, and it's been removed in the latest version, which you can download now from http://www.benlyall.com/

    I tried to find http://blog.nuclearmoose.ca/wp-content/galleries/peace_country/index.xml, which should point to the xml file where the plugin is looking and got a 403 error. Maybe your permissions aren't set correctly after the upload? They need to be at least 755 for the directories and 644 for the files, if you're using Unix... on windows, who knows.

    Check the permisions, try the latest version, and let me know how you go.

  20. NuclearMoose
    Member
    Posted 10 years ago #

    Hi-Fi,

    I uploaded your script and saw the change right away. Then I checked permissions and found that the galleries folder was 766 which would not work. Changing it to 755 was successful. It's very nice! Thanks!

    Now to play with some of Picasa's settings and mess with the thumbnail CSS as well.

    Cheers, Hi-Fi!

    Check it out!

  21. High-Fidelity
    Member
    Posted 10 years ago #

    Cheers... good to see someone else can use it... I'll let you know if it gets updated.

    Ben.

  22. EyeNo
    Member
    Posted 10 years ago #

    Hi-Fi, got it running in about 2 minutes. Thanks very much!!

  23. archaeologyman
    Member
    Posted 10 years ago #

    I got this to work pretty quickly but would like to alter the output a bit. Right now it si showing 5 thumbnails wide in the post, how can I alter this so that the width is not exceeding the width of the post?

    In other words, 4 thumbnails wide instead of 5?

    Thanks.

  24. High-Fidelity
    Member
    Posted 10 years ago #

    All it does is display all the images in line. If there is room for them, then the browser will display them all along side each other. If there's not enough room, then they get wrapped to the next line. I'm not doing anything fancy to the images at all. If you're having a problem with the images going beyond the width of your post, then you might want to have a play around with the stylesheet that specifies the width of all your div's etc for your site.

    You could always hack the script up a bit so that it displays only four images wide, but it sounds like that wouldn't be the best fix to your problem.

    Edit: I've had a look at your site using Firefox on Linux and it seems like the problem you're getting is because there is no padding on the left hand side of your entry. One way to fix this would be to add the following to your stylesheet...

    .imagegallery {
    text-align: center;
    margin: auto;
    }

    That will center the gallery, if that's not what you want, then you could try something like

    .imagegallery {
    margin-left: 10px;
    }

    which will place a 10 pixel margin on the left hand side of the containing div for the images.

    Hope that is some help.

  25. archaeologyman
    Member
    Posted 10 years ago #

    Thanks for the quick reply.

    I'm afraid to mess too much with the code. I just got the site looking the way I want it to (at least in Firefox)

    In the post I tried center tags but that didn't seem to work. Can you use html tags to alter this at all in the post?

    Post in question is here: http://www.markbillings.us/blog/?p=111

    ______

  26. High-Fidelity
    Member
    Posted 10 years ago #

    Try the other things, with modifying the CSS and let me know how it goes.

  27. archaeologyman
    Member
    Posted 10 years ago #

    Great. I am not sure where to put that in the CSS however...I've tried to add it at the end of the stylesheet but it has no effect. Sorry, not to handy with CSS, thanks for the help.

  28. archaeologyman
    Member
    Posted 10 years ago #

    nevermind, got it. Thanks much HiFi!

    I just put this in the head of my CSS:

    /* begin ImageGallery */

    .imagegallery {
    margin-left: 10px;
    }

    /* end ImageGallery */

  29. GJD
    Member
    Posted 10 years ago #

    Has anybody had any joy with the define bgColor function in the XML template (For Picaso Exports) for use with Ben's Plug-in?

  30. GJD
    Member
    Posted 10 years ago #

    S'cool, I have found one suitable solution:
    http://www.gjduk.com/?p=6

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.