Yes, but then when you move partially off the smaller image, the loading image will be partially visible again.
To prevent that and add a few other niceties (optional loading message, optional partial opacity and background color for the loading image), I came up with this modified version of the script (right click and 'Save As'):
ddpowerzoomer.js
You will need a loading image, here's one or you can get or make your own (also right click and 'Save As'):

Add these styles to the head of the page:
Code:
<style type="text/css">
.powerloadingimg { /* do not edit */
visibility: hidden !important;
}
.powerouterloading { /* optionally edit for image name and background color */
background: white url('loading.gif') center no-repeat;
}
</style>
Change white to your preferred color if different, or remove it for a transparent background. Configure the loading.gif to be your own.
Finally, there are new configuration options inside the script. Using a text only editor like NotePad, edit them if desired (near the top):
Code:
/*Image Power Zoomer v1.1 (June 18th, 2010)
* This notice must stay intact for usage
* Author: Dynamic Drive at http://www.dynamicdrive.com/
* Visit http://www.dynamicdrive.com/ for full source code
*/
//June 18th, 10: Adds ability to specify a different, higher resolution version of the original image as the image shown inside the magnifying glass.
//Feb 2nd, 13: Unofficial update adds loading image
jQuery.noConflict()
var ddpowerzoomer={
loadimg: 'loading.gif', //configure loading image to be shown while larger image loads
loadingopacity: 0.5, //set opacity for loading image
loadingmessage: 'Loading . . .',
dsetting: {defaultpower:2, powerrange:[2,7], magnifiersize:[75, 75]},
mousewheelevt: (/Firefox/i.test(navig . . .
Use the same loading image as configured in the added style section so that the script can make sure it's preloaded. If no loading message is desired, use an empty string (''). If no partial opacity for the loading image is desired, set that to 1.
Bookmarks