added file-on-hub support for post_photo