Disable Click On Product Image In Product Details Page


How can I disable main product image previewer on image click but keep the zoom on hover? Also, I want that when the previewer is disabled, the photo shouldn't be hyperlinked/clickable?

Thank you very much for your help!

I was able to make it work as I wanted above. I disabled click event on the product image.

$('.cm-previewer').click(function() {
    return false;