takes image out of li