Zoomy.js is a Prototype class that allows you to easily create image gallery: the script make simple magnification of images with customizable options, as popup and overlaying boxes. You can view the source code here.
Add the required HTML markup and customize CSS stylesheet: the miniature is made from the original image used as background. Then initialize Zoomy as below:
appearDuration: the duration of appear effect (default value: 0.5 seconds).
draggable: makes zoomy draggable (default value: false).
Get zoomy.js v 2.1 (21/10/2009) - the package contains Prototype 1.6.1 library + Scriptaculous (effect, dragdrop).
Zoomy is licensed under the MIT license.
You can post your comments, suggestions or bug reports on my blog: I'm happy to receive aid to improve the script.