This is an example of basic gallery functionality with quite concise code. Click a thumbnail to view the full size image, and click the full size image to restore it to a thumbnail.