displaying the image thumbs from api