fix initial file/image posting