Use HTTParty instead of mechanize for image uploading