fixing baseurl for post image