This is a list of code snippets that do not fit into any of the other articles and merely describe how to achieve something very specific, rather than explaining the inner workings of a function.
The ImageViewer is available on all frontend pages by default, you can easily
add images to the viewer by wrapping the thumbnails with a link with the CSS
jsImageViewer that points to the full version.
<a href="http://example.com/full.jpg" class="jsImageViewer"> <img src="http://example.com/thumbnail.jpg"> </a>