I have a situation to show images which is placed in an array. I am using jquery to loop the image and while looping the image I am getting all the elements in console.log b