Displays all the images of particular extension from the directory