witching images is no different from opening them; just call the openDzi() method. If you don't want to show any image, you can call the close() method, but this is not required.
When you add in a way for the user to choose the image (like we've done below), you're more than halfway to building your own image gallery.
Written 100% in JavaScript to run in any Web Browser and on any Platform. It parses and executes SQL dynamically in the browser, returning results formatted for RIA Frameworks or directly for inserting into HTML.
J. Merelo, A. Garc\'ıa, J. Laredo, J. Lupión, and F. Tricas. Proceedings of the 2007 GECCO conference companion on Genetic and evolutionary computation, page 2851--2858. New York, NY, USA, ACM, (2007)
L. Salucci, D. Bonetta, S. Marr, and W. Binder. Proceedings of the 21st ACM SIGPLAN Symposium on Principles and Practice of Parallel Programming, page 40:1--40:2. ACM, (March 2016)