3D FlipBook - Smart Pan Not working

u***a@creativefaze.com
2021-09-22
2021-09-23

I created flipbook using demo version of this plugin. In the demo version of plugin, the first page of PDF is opened on the full screen and when book is opened, it zoom outs to fit both pages. This is perfect behavior for me and i think it is handled by smart pan (correct me if i am wrong). This is a screenshot of how PDF works with demo version of jquery flip book plugin: https://prnt.sc/1taul3u

But when I purchased this plugin and implemented the new plugin files, the first page is on the same zoom level as the rest of the flip book when its opened. I have tried zoom, sheet, pan, height, width and many other configuration options but it does not behave as it was on the demo version. Please share your insight on this. How PDF looks with purchased jquery flip book plugin: https://prnt.sc/1tauq87

The rest of the pages are same for demo and purchased plugins (like this): https://prnt.sc/1tawoqp

Please guide me how can i make it look like the demo version. I have tried giving height/width also setting different zoom levels and activating cmdsmartpan option but it doesn't work.

Replies

a***r@3dflipbook.net
2021-09-23
2021-09-23

Hi, this behavior was changed in the pro version to keep the same scale, because it was confusing for a lot of users, but it is easy to return.

u***a@creativefaze.com
2021-09-23
2021-09-23

Is there any way to achieve this behavior in the pro version? Please advise as the one of the main reasons for choosing this plugins was this behavior.

a***r@3dflipbook.net
2021-09-23
2021-09-23

open 3d-flip-book/js/classes/BookController.js, comment/remove:

        const width = Math.max(box0.min.x-box0.min.x, bookWidth), x0 = (box0.min.x+box0.max.x)/2;
        box0.min.x = x0-0.5*width;
        box0.max.x = x0+0.5*width;

rebuild the project.

Log In to leave a comment