• Welcome to the Chevereto user community!

    Here users from all over the world gather around to learn the latest about Chevereto and contribute with ideas to improve the software.

    Please keep in mind:

    • This community is user driven. Be polite with other users.
    • We recommend purchasing a Chevereto license to participate in this community.
    • Purchase a Community Subscription to get even faster ticket response times.
  • Chevereto Support CLST

    Support response

    Support checklist

    • Got a Something went wrong message? Read this guide and provide the actual error. Do not skip this.
    • Confirm that the server meets the System Requirements
    • Check for any available Hotfix - your issue could be already reported/fixed
    • Read documentation - It will be required to Debug and understand Errors for a faster support response

how to disable click to zoom feature

jimsweb

Chevereto Member
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.
 
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.
 
Back
Top