I have thumbnails and a previous and next button already set up. When a thumbnail is clicked it loads a blank div with the navigations buttons in it. I already have the large images in a folder on the site.
So my question is how do I load the image into the div when a thumbnail is clicked and have those images change swap in and out when using the previous/next button to remove the current image and load in the next or previous image in the list?
Would this require AJAX? PHP? or will jQuery be enough?
Originally I was going to load all the images on the page with a property of display:none and use jQuery to navigate through them. This site will have a preloader on it eventually but I want the best strategy for preformance and load time.