Welcome to the in5 Answer Exchange! This a place to get answers about in5 (InDesign to HTML5) and make requests.
0 votes
Hello,

I noticed that in our flipbooks it is no longer possible to zoom in... With the icon in the control frame. The icon does not respond at all.

Exported flipbooks a few months ago could do that. We always use the same settings. Since about June it only works with Safari. Is it a browser problem? Is there anything I can do?

Exported a few months ago, April. Works:
https://www.dbl.de/fileadmin/dbl/zentrale/Prospekte/DBL_Forward/index.html

New export. Does not work anymore:
https://www.dbl.de/fileadmin/dbl/zentrale/Bilder/Kollektionen/Elements_neu/index.html

Greetings
Jaki
in misc by (130 points)
  

1 Answer

0 votes

I'm sorry for the inconvenience. Version 3.8.13 of in5 has a bug that affects the Viewer Display Zoom. Our developer said that the bug is caused by the fix in 3.8.13 for relative links in a scaled, scrolling document that weren't working properly on load. They modified the code so that the Viewer Display Zoom will scale. 

Here's how to add the modified code:

  1. Copy the code below
  2. Export either by going to in5 > Export HTML5 with in5... or to in5 > Easy Export Wizard... and clicking the Advanced button
  3. Go to the Resources section of the Export HTML5 with in5 dialog
  4. Click the + button in the JavaScript section
  5. Click the Paste code... button to paste the code from your clipboard
  6. Click the Save and apply button
  7. Select Append to Existing at the bottom of the JavaScript section
  8. Click OK to export
function getCurrentScale(targ, zooming) {
    var targ = targ instanceof jQuery ? targ[0] : targ, $body = $('body');
    var zoom = useZoomToScale ? $(targ).css('zoom') : 1;
    if(zoom && zoom !== 1) return zoom;
    return zooming || $body.hasClass('zoomed') || $body.is('[data-scaled-to]') ? window.scaleFactor || new CSSMtx(window.getComputedStyle(targ).transform).a : 1;
}
by (29.9k points)
Really scary, when the update removes frequently used features... Hope it will be restored in the next update
I'm sorry for the inconvenience. Justin confirmed that the update to restore the Viewer Display Zoom functionality will be released soon.

in5 version 3.8.14 is now available and includes the fix for the Viewer Display Zoom: