Notifications
Clear all

Auto height resize not working


Posts: 7
 xega
Topic starter
(@xega)
Active Member
Joined: 3 months ago

Hi

I am trying to get the auto height resize to work for me, but unfortunately without luck. I tried reading your guide and added 

onload_resize="true" to my shortcode via advanced settings but it still won't work for me. I am using a test server so this is not the final location for my website, but the setup will be the same, i.e. the iframe and my wp installation are on the same server. 

Here is my shortcode:


You can see the setup "in action" at www.hafdal.dk/wp/gagnagrunnur

Can you see what I might be missing?
Best regards and thanks in advance.

xega

 

1 Reply
TinyWebGallery
Posts: 505
Admin
(@admin)
Administrator
Joined: 13 years ago

www.hafdal.dk and hafdal.dk are not the same domain. it is a domain and its subdomain. Add the www to the url in the iframe.

You also see this in the Javascript console. So please read

http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-checklist

and

http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-quick-start-guide

and

http://www.tinywebgallery.com/blog/advanced-iframe-resize-to-content-summary

Here everything is explained that you need to know.

Best regards, Michael

Reply