Results 1 to 4 of 4

Thread: Bug with Image Power Zoomer v1.1

  1. #1
    Join Date
    May 2011
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Bug with Image Power Zoomer v1.1

    1) Script Title: Image Power Zoomer v1.1

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...owerzoomer.htm

    3) Describe problem: Seem to have encountered a bug where it only shows the zoomed image of the last image in a series of images. In other words when you hover over any image it shows you the last picture instead of the one you are hovering over..

    See problem in action here (it's not immediately obvious!): http://www.pixelshell.com/clients/ro...ject/necklace/

  2. #2
    Join Date
    Jul 2011
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by spuddle View Post
    1) Script Title: Image Power Zoomer v1.1

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...owerzoomer.htm

    3) Describe problem: Seem to have encountered a bug where it only shows the zoomed image of the last image in a series of images. In other words when you hover over any image it shows you the last picture instead of the one you are hovering over..

    See problem in action here (it's not immediately obvious!): http://www.pixelshell.com/clients/ro...ject/necklace/

    Hi spuddle,
    did you solve your issue? I've a similar problem with an image gallery, when I change the image source, some times the zoomed image is different than the displayed image. I think it could be the same cause of your problem.

    I described better my issue here:
    http://www.dynamicdrive.com/forums/s...ad.php?t=63267

    If you solved it, can you tell me how, please?
    thanks,
    wally.

  3. #3
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    29,167
    Thanks
    44
    Thanked 3,240 Times in 3,201 Posts
    Blog Entries
    12

    Default

    I don't know about wally's problem but the original problem in this thread can be solved by changing the initialization from:

    Code:
    </script>
    
    <script type="text/javascript">
    jQuery(document).ready(function($){ //fire on DOM ready
     $('.zoom').addpowerzoom({
     	powerrange: [2,2],
    	magnifiersize: [160, 160]} //Set size of magnifier to 160px by 160px
    	
     )
    })
    </script>
    to:

    Code:
    <script type="text/javascript">
    jQuery(document).ready(function($){ //fire on DOM ready
    	 $('.zoom').each(function(){
    		$(this).addpowerzoom({
    	 	powerrange: [2,2],
    		magnifiersize: [160, 160]}); //Set size of magnifier to 160px by 160px
    	});
    });
    </script>
    @wally, as far as I know, the script wasn't designed for that. Probably needs a fair amount of rewrite to accommodate changing the images around.

    Please don't respond in this thread. I'll have a look at your thread and post something there if I get anything.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  4. #4
    Join Date
    May 2011
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Wow, thanks John! Such a simple tweak and it works! Appreciate the help.

    Wally: I hope you get your issue fixed too

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •