How to scroll through image with data displayed about it changing


I get user to select a catergory of images they want to display and then I display the image with the information about that image. Then when the user clicks next I want the image to change to a new one within the group with the data displayed about the new image, how do I do this?