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.