added image preview in home view