At the heart of every Deep Zoom Image file lies a tiled image pyramid that allows the rendering engine to pick and choose only the data that is required for a particular view. Each level is significantly smaller than the next, and is loaded as soon as it becomes available. The smooth Seadragon experience is created by progressively loading each new resolution level and seamlessly blending between them.
imagePath String The path for all UI images. This can be absolute or relative. If relative, it must be relative to the HTML page. A change to this value will only affect new viewers. Default is "img/" for the distributed version of this library, and "http://seadragon.com/ajax/0.8/img/" for the version hosted on seadragon.com.
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.