can get all local images and added functionality to proceed them via clicking