first version for posting images on tumblr, changed g_PostTweet in
gPostTweet for compliance with go code style