Good evening everyone. I have a doubt. I'm doing an image gallery and would like to know how do I know which is the first and last element. Type I have the right and left arrows for previous image or next image. Dai type when I get the last image I want to hide the arrow for the next image and when I have the first image I would like to hide the arrow for the previous image. Can you help me?