Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi Jack, you need to enable the option “Inlcude Metadata jQuery extension…” in the plugin settings on Settings > Media. After that, you can define different sizes for each link by adding extra data to the links class attribute. For example:

    <a href="https://url.of/page/" class="fancybox-iframe {width:400,height:600}">anchor text or thumbnail image</a>

    The parameters between the curlies { and } are now passed to FancyBox. Seperate parameters with a comma and do not add px or anything if you want fixed sizes. However, you can use the % sign for relative sizes.

    Thread Starter Jack Chang

    (@jackcksn)

    Thanks RavanH , it working .

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Resize iframe without plugin setting’ is closed to new replies.