Skip to content

IFRAME-RESIZER

Keep iframes sized to their content

Automatic Resizing

Automatically works out the optimal strategy to calculate the page dimensions, every time your content changes size.

About iframe-resizer

Cross-Domain

Supports external (cross-origin) iframes via a simple JS file that is designed to be a zero impact guest on the sites hosting it.

Quick Start Guide

Extended API

Provides a range of missing browser API features, that allows you to securely integrate your iframe content with the parent page.

API Docs

Frameworks

Works with React, Vue, Angular and jQuery. Plus iframe-resizer provides an API for generating your own components.

Frameworks Guide

Wordpress

iframe-resizer is simple to setup and use with WordPress.

Wordpress Guide

Accessible

Automatically configures iframes to maximise accessibility compatibility and compliance.

Accessibility

Feedback on iframe-resizer

"Improved the user experience a lot. Very happy with it."

JS

Johan Stuyts

"Epic library for a critical website need! Thanks for making this available!"

J

Jason

"Saved me a ton of time fiddling with iframe resizing, thank you."

WL

Warpstream Labs

"Thank you for all your hard work! I was asked to embed a site I'd created into someone else's Wordpress site and this made it possible."

J

Jack

"iframe-resizer library was super-helpful! And the documentation was easy enough for a beginner like myself. Thank you!"

DM

Darvin Martin

"Your great iframe resizer "toolkit" saved my day already several times & always worked perfectly with just a few lines of code. Keep up the good work!"

A

A Hueller

"I rolled my own for some of these features before I came across your lib. Thanks for your work. "

CB

claw_slaw_bibbly_bop

"After finding this project and verifying how well it works, it really made my day. Much appreciated!"

AP

Adam Pitzele

"Nasty problem to solve, your solution took 5 minutes to implement, zero pain. Much love."

LM

Laurence Martinier

"You made it easy for me to share Drupal Webforms on any website, webpage, or application. Thanks."

JR

J Rockowitz

"Great work. Have been using this for years always with success!"

M

Maureen

"Needed last minute resizing, your lib and instructions did the trick."

D

Dark