PDA

View Full Version : Can't Install jQuery Image Magnify v1.11



craigj12
04-30-2012, 12:41 AM
1) Script Title: jQuery Image Magnify v1.11

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex4/imagemagnify.htm

3) Describe problem: OMG... I Am A Newbie! Please be gentle... I use WYSIWYG Webbuilder 7 and am inserting this script into a page. However, the instructions say to download jquery.magnifier.js! Newbie here... what am I supposed to do with it? Is is supposed to go onto the server?

Then, the instructions to enable magnificaton...

<img src="image.jpg" class="magnify" style="width:200px; height:150px" />

is the width/height info supposed to be the size the image will increase to?

Greatly need help here; particularly with what to do with the download

ddadmin
05-02-2012, 12:15 AM
To answer your questions:


the instructions say to download jquery.magnifier.js! Newbie here... what am I supposed to do with it? Is is supposed to go onto the server?

Yep, you'll need to upload both the .js and .cur files to your server, by default, in the same directory as the page using the script.

The width/height attributes inside the image should be that of the image's *original* dimensions. The magnification amount is specified using another attribute:


<img src="ocean.gif" class="imagewarp" data-magnifyby="2.5" style="width:200px; height:150px" />