added image support need to add test case