Try the below modified .js file, which lets you add a "close" image on top of the magnified image (lower right corner by default). Inside the .js file, modify this line:
Code:
var $closeimage=$('<img src="zoomout.gif" style="z-index:10000; position:absolute;display:none" />').appendTo(document.body)
Change the file name in red to point to the full path to your own close image. Then for this line:
Code:
$closeimage.css({left:imageinfo.newattrs.x+$clone.width()-30, top:imageinfo.newattrs.y+$clone.height()-30}).show()
You may want to modify 30 and 30 to reflect the dimensions of the close image, so it appears snug next to the lower right corner of the magnified image.
Bookmarks