How to reload MagicZoom when we change the src proper tie of a picture?

  • 7
  • Question
  • Updated 5 years ago
I want to buy MagicTool to use in my page, then
Im trying the tool, (look,
But I have a question or problem:
How can I refresh the MagicZoom when I change by javaScript the propertie
"src" of a image, example:
document.getElementById('mediana').src = "Cata/mod"/grande.jpg";

In my webpage you can see in the left side of a picture some text titles
like: saco, blusa01,blusa02, chaleco, pantalon and others) and when you
click on it, you can see that the picture or photo change, but the magicZoom
still shows the same picture.
I try to update the MagicZoom with: MagicZoomPlus.update or MagicZoomPlus.refresh
but I cant change the picture.
Can you help me with this???? there is some way to refresh the plugin in this case?
Photo of ivanhalen77


  • 2 Posts
  • 2 Reply Likes

Posted 5 years ago

  • 7
Photo of oleksiy

oleksiy, Official Rep

  • 27 Posts
  • 2 Reply Likes
For the Magic Zoom tool correct methods to call are MagicZoom.update(...) and MagicZoom.refresh()
(not MagicZoomPlus)

Please see instructions here:
Photo of ivanhalen77


  • 2 Posts
  • 2 Reply Likes
IM using MagicZoomPlus :) then is correct
Photo of Jacket

Jacket, Official Rep

  • 93 Posts
  • 10 Reply Likes
For Magic Zoom Plus, please see these instructions for reloading an image: