gets images from repo