Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum
https://www.tinywebgallery.com/forum/

iFrame auto-resize height not working
https://www.tinywebgallery.com/forum/viewtopic.php?f=21&t=4130
Page 2 of 2

Author:  TinyWebGallery [ 24. Sep 2016, 15:50 ]
Post subject:  Re: iFrame auto-resize height not working

Auto height is working now. I can see the callback in the network tab.

So what is your problem now? What additional settings do you need?

Best, Michael

Author:  zeumic [ 27. Sep 2016, 02:41 ]
Post subject:  Re: iFrame auto-resize height not working

TinyWebGallery wrote:
Auto height is working now. I can see the callback in the network tab.

So what is your problem now? What additional settings do you need?

Best, Michael


As you can see the first frame on https://www.webengin.com.au/test-page-2/ is not being measured correctly, and as such is very cut off. Why is that?

Author:  TinyWebGallery [ 27. Sep 2016, 10:28 ]
Post subject:  Re: iFrame auto-resize height not working

It seems you have 2 iframes. And your external workaround looks for both for
var iframe_id = "iframe";

but one iframe has the id""advanced_iframe" and the other one id="iframe"
But the external workarounds send

https://www.webengin.com.au/wp-content/plugins/advanced-iframe/js/iframe_height.html?height=474&width=800&id=iframe
https://www.webengin.com.au/wp-content/plugins/advanced-iframe/js/iframe_height.html?height=1414&width=960&id=iframe

So you need to fix the ids! each iframe has a unique id and in the remote page you have to have the matching ids set!

Best, Michael

Page 2 of 2 All times are UTC + 1 hour [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/