added img and zip support.