Development

Here you can found some my personal projects and posts as developer.

Thursday, October 27th, 2011
Wednesday, October 26th, 2011
Monday, June 13th, 2011
Friday, February 11th, 2011
Thursday, March 25th, 2010
Thursday, November 5th, 2009
Saturday, October 24th, 2009
Monday, August 24th, 2009
Thursday, August 20th, 2009
Wednesday, August 12th, 2009
Newer Entries »

Picasa2WordPress Improvement

Thursday, August 20th, 2009 by Yuri Panshin

I organize my personal photo library by Picasa from Google. And I would like to post full albums with photos with a little amount of buttons presses to my WordPress based blog, but I didn’t find something suitable for me from huge count of plugins for WordPress.Whatever I found some script “Picasa2Wordpress” that use Picasa Button API and it’s what I really need. But it wasn’t enough for me. I was need to post post in additional to upload photos, so I Improve the script.

Features:

  1. Upload Photos to WordPress blog by Picasa application.
  2. Provide ability to add uploaded photos to exist post/page.
  3. Post new post with photos.

Installation Instructions:

  1. Download
    Version: 1.1: Picasa2Wordpress1.1.zip
    Fix: I found bug in post’s DropDown that showed limited list.
    Version: 1.0: Picasa2Wordpress.zip
    Unzip it, and put extracted files (should be 5 files) under your WordPress wp-admin directory.
  2. Optionally you can change some setting in a file picasa_post.php.
    • $postCategory – the categories that new post will be added to.
    • $postStatus – the status of new post (draft,publish,pending).
    • $postParent – the parent post id for new post.
    • $galleryTag – the gallery tag that will be automatically added to end of new post.
  3. Go to Picasa Button Generator to get your own Picasa button (picasa2wordpress.pbz). This generator can let you define the tooltip in your own language.
  4. Put picasa2wordpress.pbz at the root directory of your WordPress.
  5. Type picasa://importbutton/?url=http://your.blogs.url/picasa2wordpress.pbz at browser’s navigation bar. Picasa will be launched and install the button automatically.
  6. After you confirm to install the WordPress button in Picasa, you may add it to your Picasa panel.
9 Comments to

“Picasa2WordPress Improvement”

  1. On September 17th, 2009 at 08:54 Valentin Says:

    Hey There,
    i have tryed to get the button to work on my Leopard + WordPress combination, but so far no luck. I have unpacked the stuff into my WordPress wp-admin directory and installed the Button. but if i press the Publish to WordPress button a window opens, i put in my passwort, but it says: 『Sorry, no pictures were recieved.』 So i cant upload any Pictures to my Blog :-(
    The mac version of picasa is 3.06 Beta.
    I Went on and tryed it on Vista with picasa 3.1.0 But i had the exact same problem.

    Very strange to me.
    Can you help me out?

    Greetings
    Valentin

  2. On September 17th, 2009 at 23:34 Yuri Panshin Says:

    I tried to reproduce the bug and was not success. I use it on Leopard Picasa 3.0.6 and on Windows 3.1.0. Till now, I found just one bug, the plugin cann’t upload more then 9-10 photos in one bulk. I didn’t find why it is happening yet.

  3. On September 21st, 2009 at 00:29 Valentin Says:

    So i tryed it From my Desktop Laptop .. 3 different Operating systems.
    Maybe my Router is the cause. Or my Centos 5.3 Server is misconfigured. But i checked httpd log, Iptables events and dmesg. But still no Pictures recieved.

  4. On September 21st, 2009 at 21:01 Yuri Panshin Says:

    I don’t know what happening with your computers.
    But you can try sample from picasa button site: http://code.google.com/apis/picasa/docs/web_uploader.html#php_sample
    Let see if it will work on your computers.

  5. On September 29th, 2009 at 18:42 valentin Says:

    Ok i might have figured out whats wrong with all the people complaining it doesnt work.
    When i click the button everything seems fine and the picasa minibrowser closes.
    Then i find the folowing line in apache2 error.log:

    [Tue Sep 29 16:28:50 2009] [error] [client ip-adress] File does not exist: /var/www/blog/images, referer: http://domain.com/blog/wp-admin/picasa.php

    Now as you see its looking in the blog directory for the blog/images/ folder and cant find it.
    Thats because the images folder is located in blog/wp-admin/images.
    I think this is because i installed wprdpress in a subfolder of the domain like: http://doamin.com/subfolder and not in a subdomain.
    A simple fix would be to copie all the images into the blog folder but thats not the best way to go ..
    hope this helps

    Greetings Valentin

  6. On September 29th, 2009 at 19:42 valentin Says:

    No luck :-(

  7. On September 29th, 2009 at 23:12 Yuri Panshin Says:

    Can you step by step explain what you do for upload photos?

    I checked link that Picasa use for show selected photos and found that it isn’t going to your server.
    http://localhost:51816/0bf3edc80ff37460a2de006f14d138e4/thumb/1eaa1837cdce3430.jpg
    So I don’t understand when you receive error “No photos selected”.

  8. On October 23rd, 2009 at 12:54 More Picasa - Valentin Says:

    [...] Yuri & Viki Panshin developed it further and made some improvements to it. I recomend using this one, because it adds more functionality to picasa2wordpress. [...]

  9. On January 14th, 2012 at 16:57 NikolasTesla Says:

    I found the answer in google, remove the topic pls.

Email will not be published

Website example

Your Comment:

Home Albums Travel Blogs Login

© 2011-2012©Yuri&Viki Panshin