code: public void postPhoto(Photo photo, String blogId, String blogPassword) throws FlickrException {
          Map<String, Object> parameters = new HashMap<String, Object>();
          parameters.put("method", METHOD_POST_PHOTO);
  
          parameters.put("blog_id", blogId);
          parameters.put("photo_id", photo.getId());
          parameters.put("title", photo.getTitle());
          parameters.put("description", photo.getDescription());
          if (blogPassword != null) {
              parameters.put("blog_password", blogPassword);
          }
  
          Response response = transportAPI.post(transportAPI.getPath(), parameters, apiKey, sharedSecret);
          if (response.isError()) {
              throw new FlickrException(response.getErrorCode(), response.getErrorMessage());
          }
      }
docs: Post the specified photo to a blog. Note that the Photo.title and Photo.description are used for the blog entry title and body respectively.
  
  @param photo
  The photo metadata
  @param blogId
  The blog ID
  @param blogPassword
  The blog password
  @throws FlickrException