I’ve been wracking my brain for hours trying to figure out this offensively simple task, but I just can’t for the life of my implement this Jquery zoom solution in webflow. @Waldo, if you can see this, it seems like you knew the answer but the thread closed.
I tried every possible combination of code mixing that I could think of, but my attempts were shots in the dark at best so they aren’t any help to show.
Thanks for the quick reply, this implementation worked! I must have had trouble adding the script through a link rather than local text.
I have an issue though:
Extremely inconsistently, the “zoom” will not zoom at all, and will just show the image at the same size that it was before, but still moves vertically with mouse movement.
Other times, it will work correctly and scale to the exact resolution of the image and move around. I can’t tell what causes it, whether it’s browser, incognito mode, or when I publish after changing seemingly unrelated things like the url of a link.
I can see that sometimes the page loads only the image sized down (500x500 for example), and when it works, the image is 1000x1000.
I literally DUPLICATE my project, and it works on one, doesn’t on the other, but then I open the working one in an incognito window, and it breaks again.
UPDATE: Jack Moore’s zoom seems to just do weird things, and it isn’t very versatile either. I decided to implement EasyZoom instead, which I got working.
Thank you very much for this post. I’ve managed to implement this solution and it works fine. I was wondering if there is a way to disable this for touch/mobile devices as it seems to cause some issues with scrolling. The one work-around I’ve thought of is duplicating the images, giving them a different class and then only showing on mobile. But looking for a more simple, elegant solution if there is.