jimsweb Chevereto Member Jun 15, 2016 #1 how to disable click to zoom feature in image view mode? I always want the fixed image width and height view mode. please advise if this can be achieved.
how to disable click to zoom feature in image view mode? I always want the fixed image width and height view mode. please advise if this can be achieved.
Rodolfo 👑 Chevereto Godlike Chevereto Staff Administrator Jun 15, 2016 #2 The only way to disable it is ripping it apart from the JS code. app/lib/chevereto.js Change this: Code: $(document).on("click", CHV.obj.image_viewer.container, function(e) { To this: Code: $(document).on("click", CHV.obj.image_viewer.container, function(e) { return; My advice is that you shouldn't disable it. The whole thing works with responsive + zoom in mind.
The only way to disable it is ripping it apart from the JS code. app/lib/chevereto.js Change this: Code: $(document).on("click", CHV.obj.image_viewer.container, function(e) { To this: Code: $(document).on("click", CHV.obj.image_viewer.container, function(e) { return; My advice is that you shouldn't disable it. The whole thing works with responsive + zoom in mind.