Maintain Proportions

Your Account / Forums / Easy FancyBox Pro / Maintain Proportions

  • Author
    • December 12, 2022 at 6:30 pm #38673

      If Easy Fancybox is used with iframe/URL it used to maintain proportions if browser window size was lower that settings. Now it jumps to a more square frame. Can this proportion be maintained?

      Here is example. This settings are set at 1600×900, but if you make your browser window smaller you will see it change proportions:

    • December 12, 2022 at 6:30 pm #38718

      Hi Carrington, my apologies for the late reply. I’ve checked your page and see what you mean. I’ll try to reproduce this and will let you know asap.

    • December 12, 2022 at 6:30 pm #38720

      Update: I’ve been able to reproduce the issue and it looks like you found a bug.

      While we’ll work on fixing it, could you switch to either the Legacy or the fancyBox2 script version on Settings > Media? It’s the first option in the Fancybox section.

      The Legacy version will give you the script as it was in previous versions, while fancyBox2 is a more modern version with touch support but that’s not relevant in case of iframes…

    • December 12, 2022 at 6:30 pm #38752

      I switched to Fancybox 2 and that seems to fix the issue, and it also helps center the content top to bottom without cutting off the bottom.

      One aspect however is that on mobile (phone) it shows as an overlay, and in the legacy version it would open as a new full window. I recall that you provided a script to make that happen some years ago.

    • December 12, 2022 at 6:30 pm #38788

      Hi Carrington, have you set the the Browser & device compatibility options (height and/or width) under “Miscellaneous” on Settings > Media?

  • You must be logged in to reply to this topic.