Updated code to show the fetched images