Picasa2WordPress Improvement
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:
- Upload Photos to WordPress blog by Picasa application.
- Provide ability to add uploaded photos to exist post/page.
- Post new post with photos.
Installation Instructions:
- 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. - 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.
- 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.
- Put picasa2wordpress.pbz at the root directory of your WordPress.
- Type picasa://importbutton/?url=http://your.blogs.url/picasa2wordpress.pbz at browser’s navigation bar. Picasa will be launched and install the button automatically.
- After you confirm to install the WordPress button in Picasa, you may add it to your Picasa panel.
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
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.
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.
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.
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
No luck
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”.
[...] Yuri & Viki Panshin developed it further and made some improvements to it. I recomend using this one, because it adds more functionality to picasa2wordpress. [...]