remove placeholder, update inline image handling