Posts Tagged picasa

Uploading to Flickr from Picasa on Linux

When I performed my search for the perfect photo sharing solution, I fell in love with the Picasa desktop application. I even discovered that there is a linux version. However, as you’d likely expect, it didn’t really play nice as far as uploading photos to any photo sharing site other than Google’s Picasa Web Albums.

On windows, there is a great solution called picasa2flickr which passes the desired photo’s to the windows Flickr Uploader. Again, for obvious reasons, this doesn’t work well on linux.

So, having determined that it wasn’t worth my time to pursue trying to get Flickr uploads working from Picasa on Linux, I started evaluating many of the other native options on linux, such as digikam and fspot. While these more easily uploaded to Flickr, and had open API’s, none of them worked quite the way I wanted, so I abandoned my search for a good solution.

Then, on a whim I did a Google search just a couple hours after Andy O’Neill made a blog post about a button he wrote to import photos to Flickr from the Linux version of Picasa, named picflick.

I eagerly (re)installed Picasa3 on my Gentoo box using a beta ebuild found here. Then installed his button.

After playing with it for a bit, I realized a few things didn’t quite jive for me.

1) The script automatically resizes the image before uploading it to Flickr. I prefer to upload all of my images at their original resolution, so this was a bit of a road block for me.

2) The script used a Perl module to upload to Flickr. For the life of me, I couldn’t seem to figure out how to get it authorized with my Flickr account to actually permit uploads. I’m sure if I spent a bit more time and read a few more manuals I could have gotten it right, but it didn’t quite work “out-of-the-box” for me.

3) I’d prefer to see the progress being made, rather than the beeps and tray notifications that Andy’s script provided.

So, I stole the key part of his script, the part which translates Windows paths to *nix ones, and broke down the rest to simply pass the photos on to my preferred linux Flickr uploader, KFlickr

Here’s the contents of my script, including the win2native function written by Andy.

#!/bin/bash

DEBUG=1     # debug to $LOG
LOG=/tmp/picflick.log
PICASA_WINE_DIR="$HOME/.google\/picasa\/3.0\/drive_c"  # Relative to $HOME
PICASA_WINE_DIR_NATIVE=`echo $PICASA_WINE_DIR |sed 's|\\\\||g'`

function debug() {
        if [ $DEBUG -eq 1 ]; then
                echo "$*" >> $LOG
        fi
}

# wine2native(): convert wine filename to native linux filenames
# Arguments: _name_ of variable which holds path
# Example: wine2native file  # not wine2native $file
function wine2native() {
        VAR=$1
        eval "VAL=\$$1"
        debug "Wine path: $VAL"
        # use '|' to delimit the paths
        VAL=`echo "$VAL" | \
                sed "s|C:|$PICASA_WINE_DIR|" | \
                sed 's|\\\\|/|g'`
        debug "Source file: $VAL"
        eval "$VAR=\$VAL"
}

# check we have the required dependencies
which kflickr > /dev/null || die "You need to install kflickr"

file=$1
wine2native file
DIR=`dirname "$file"`
EXT=${file##*.}
debug "START_UPLOAD"
for file in "$@"; do
        wine2native file
        KFLICKR="$KFLICKR $file"
done

debug "Launching kflickr with the following args $KFLICKR"
kflickr $KFLICKR

debug "Done"

Now when I click the “Flickr” button in Picasa, it brings up the KFlickr app with all the pictures I selected ready to upload. Thanks for the inspiration, and code bits to make this work Andy, I was too lazy to actually figure out what was necessary to pull the image paths from Picasa and use them.

, , , , , ,

6 Comments

Photo Sharing Services

Since I became a dad, and bought a dSLR I’ve been trying to figure out the best way to store and share my pictures of my son, and other interesting stuff I shoot. As far as securely storing it locally, I have a sizable RAID setup that handles redundantly storing my pictures on two drives, but it’s the sharing part that I’ve had some trouble with.

Initially, I was using my own web host and the rather nice PHP based SPGM photo gallery software. The problem though, is that it’s fairly tedious to resize and upload the images (I wrote a whole blog post about it here), and I have “only” 20GB of storage and 500GB monthly throughput. When shooting at 10 megapixels I could fill that space up quickly. Beyond that I knew that some of the web based sharing sites out there had some really cool features for sharing and organizing your photos.

So, the search begins. I had some (I thought) fairly simple requirements. I was hoping to have these requirements met by a free solution, but I was willing to pay a nominal subscription fee if I got everything I was after. Here’s the run-down of what was important to me.

  • Ability to upload original sized images. Some services have a limit to the size of each image
  • Unlimited storage/uploads
  • Sophisticated organization features. This means unlimited “albums” and the ability to have an “album” hierarchy and probably some other stuff that the service would surprise me with
  • Ability to use my images on my website, blog, forum posts, etc.
  • Ability to have a gallery on my site which displays all of the public images from the photo sharing site

That’s a fairly short list, and seems as though it should be fairly easy to match but surprisingly it isn’t.

So let’s break down the services I tried and how they stack up. First, let me say that I did not try every service out there, I ruled some out just based on their feature set, some due to their obscurity etc. Listed here are just the ones that I either discovered myself, or were directly suggested to me. If you want to do your own search and want to see all of the services available, here are a couple links that I found useful during my search.

Top Ten Reviews
CNET Reviews

Picasa

This was a fairly natural choice for me since I’m a pretty heavy user of Google services. I use Gmail, Google Reader, Google Analytics, Google Calendar, Blogger (switched from blogger to wordpress), Google Docs, and YouTube. Additionally, Picasa has a great desktop tool for uploading photos that acts as a great photo management tool on your local system as well.

Unfortunately, Picasa only allows you to organize your photos into albums with no hierarchy. Also, while you can upload a photo in it’s original size, the number of photos you can store is limited by your storage space. You’re given 1GB of space for free, and you can buy additional space on a yearly basis. But again, shooting at 10 megapixels means I’m going to need a whole lot of storage space, and I suspect that even their 400GB plan for $500 a year would become insufficient sooner or later.

Facebook

To be honest, Facebook is actually what warmed me up to the idea of using a photo sharing service on the web. So while it’s technically not a photo sharing service I thought I’d talk about what I did and didn’t like about the photo storage and sharing options it had.

First, I loved how easy it was to upload pictures and tag the subjects in the photo. Facebook also had no limit to the number of photos I could upload. Of course, those photos were downsized to a much more reasonable 604×404px, and their album hierarchy was also flat. And perhaps the most annoying thing was that I couldn’t share my pictures on my own web site and the galleries I made public I had to link directly. For instance I can send you to my public album of artistic shots but I can’t send you to a page that shows all of my public albums on Facebook. If you had a Facebook account, and were added as one of my friends you could see them all, but that’s cumbersome.

Snapfish

Frankly, I didn’t get very far in evaluating this service. There wasn’t much public information about the services offered, and it had a requirement of buying some product from them at some specified interval in order to keep your account active. As such, I never even signed up or tried it.

And the winner is….

Flickr

As it turns out, this had all of the features I wanted, plus some ones I didn’t realize I wanted until I used them.

First, the negatives. With a free account your only allowed to upload 100MB of files each month, and you’re limited to 3 “sets” (Flickr’s version of an album). Also, you can’t technically have a multi-level hierarchy of sets but there are ways to overcome that (more on this later). Of course, those limitations are removed as soon as you buy a “Pro” account which is a paltry $25 per year. Needless to say I went with that.

Now the good stuff! While you can only have a flat hierarchy of sets, you can create “collections” which contain sets or other collections. These can be nested up to 5 deep. This more than handles my organization needs. For instance, I’d like to categorize all of my pictures of my son, then break it down into particular types of events, then the specific event. Something like “Baby Pictures -> Firsts -> Crawling, Walking, Solid Food, Etc.”.

And if that organization is not enough, you can also tag a photo with keywords that are search able by the community, and act as a sort of metadata for organization.

Built right in is the ability to use your photo in a variety of sizes on your blog, forums, website, or whatever you like. Even more exciting is that there are plenty of options for sharing your pictures on other sites, as well as a public landing page for you. They even offer an open API which I’m sure I’ll find useful eventually!

So there it is. After a fair amount of time spent searching I found the solution that works best for me. Hopefully my comparison can help you if you’re searching for a photo sharing service.

, , , , ,

1 Comment

Livin’ on the web

Over the past couple of months, I’ve been transitioning a lot of my normal computing activities to the internet. What I mean by this, is where I used to use some software based solution for something that had to be installed on every computer I used, or had to be used on only a single computer I’m now using a web based solution.

For instance. I used to manage my email through Mozilla Thunderbird on my home computer. This worked fairly well for me and allowed me to filter spam etc. But in all reality, I really want to be able to access my email anywhere, anytime, with any computer. I’ve now redirected most of my email addresses by either forwarding, or using gmail’s POP3 functionality, and it’s much nicer to manage my email this way, not to mention the ability to search archived stuff way cool!

I’ve also had an ongoing problem of managing my contacts and calendar on my windows mobile based cell phone. You see, the “standard” way to keep this thing synchronized is to use some variety of Microsoft Outlook, and their anti intuitive and very painful ActiveSync. The problem of course is, only one computer can be the “master” which you synchronize with, and if you try to sync with another you run the very real risk of deleting appointments or contacts on either your phone or the computer. Enter goosync. Leveraging my aforementioned move to gmail, I can now synchronize my phone (over the wireless internet connection I’m paying for) with my google calendar and contacts. Sweet!

How about social networking? Well I’ve had a MySpace profile for some time, though I rarely visit it and I’m seriously considering getting rid of it. However, I’ve recently discovered (and become addicted) to Facebook. I find that their particular implementation of social networking seems to allow you to use this for “professional” purposes and mostly dodge the less desirable social networking behavior that turned me off from MySpace in the first place. As a software developer I’m also very attracted to the open API architecture and the multitude of very well written applications, in fact I’m just waiting for the inspiration to hit me so that I can write my own.

Another consequence of joining Facebook is that I (re) discovered Pandora Radio. I had given Pandora a test drive when it was first released, and only the “QuickMix” was available. I was fairly disappointed after only a few minutes of using it and quickly dismissed it as just another over hyped new “Web 2.0″ app. When I noticed that there was a Facebook application for it though, and noticed that what my friends were listening to showed up as status updates I was intrigued, and gave it another try. This time I was able to create my own station, seeded by artists and songs that I liked. Having only supplied one artist seed I found myself LOVING every last song that was played on a station. I now listen to it exclusively where I used to listen to the “chillout” station over at Digitally Imported using Winamp. Still another step away from desktop apps!

One disappointment I have with Facebook however, is that while it does allow you to upload unlimited pictures, and share the albums publicly, it does not have any screen showing all of your public albums. For instance, I can share and link you to this album containing some artistic shots, but I have several other public albums that you’d never know about, unless I directly linked those as well.

In order to remedy that I’m evaluating using some other online photo management service like Picasa then linking it back to my Facebook account. It’s a real shame though since I think that Facebook offers an ease of use that so far I haven’t seen in the alternatives.

My last discovery in the world of Cloud Computing has been a password management system. You see, I have more logins than I could possibly keep track of, in fact I’m CERTAIN that I have logins to forums and other sites that I don’t even remember exist. As a result, I have the same problem of remembering passwords that many computer users experience, and I’m not great about picking unique passwords! To resolve that I went looking for some good online password management. Now, I’ve conducted this search before, and come up wanting for security or functionality in the solutions I’ve found. Not so this time!

Allow me to introduce Passpack. What I like about this is that it uses a lot of AJAX, and consequently the information I enter is encrypted in my browser before it even hits the wire! Very cool. It also has the ability to generate strong passwords then automatically enter them for me at the login prompt for the website! I could go on about the features for a while but I’ll save that for another blog entry when/if I feel so inclined. If your interested, or conducting your own search for an online password manager I recommend Passpack, go ahead and follow the link over there and check it out.

, , , , ,

1 Comment