upload image on post and comment