changing pic upload to post