In a basic photo gallery, clicking a thumbnail changes the main image and text.


To see how it works and source code, click here.