This image viewer is part of the normal text flow:

This is achieved by wrapping the image and mouse layers in a div with relative position and restricted size.