trying to address inline content, added image support