Title: Resize iframe without plugin setting
Last modified: August 21, 2016

---

# Resize iframe without plugin setting

 *  Resolved [Jack Chang](https://wordpress.org/support/users/jackcksn/)
 * (@jackcksn)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/resize-iframe-without-plugin-setting-1/)
 * Hi , may i know able resize iframe Width/Height but without plugin setting ? 
   Because sometimes my site need to set difference Width/Height iframe ,thanks .
 * [http://wordpress.org/plugins/easy-fancybox/](http://wordpress.org/plugins/easy-fancybox/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Rolf Allard van Hagen](https://wordpress.org/support/users/ravanh/)
 * (@ravanh)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/resize-iframe-without-plugin-setting-1/#post-4123877)
 * 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="http://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](https://wordpress.org/support/users/jackcksn/)
 * (@jackcksn)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/resize-iframe-without-plugin-setting-1/#post-4123938)
 * 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.

 * ![](https://ps.w.org/easy-fancybox/assets/icon-256x256.png?rev=3188201)
 * [Firelight Lightbox](https://wordpress.org/plugins/easy-fancybox/)
 * [Support Threads](https://wordpress.org/support/plugin/easy-fancybox/)
 * [Active Topics](https://wordpress.org/support/plugin/easy-fancybox/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/easy-fancybox/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/easy-fancybox/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Jack Chang](https://wordpress.org/support/users/jackcksn/)
 * Last activity: [12 years, 8 months ago](https://wordpress.org/support/topic/resize-iframe-without-plugin-setting-1/#post-4123938)
 * Status: resolved