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

Simple responsive iframe needed
https://www.tinywebgallery.com/forum/viewtopic.php?f=21&t=3983
Page 1 of 1

Author:  yourbesttrader [ 25. Nov 2015, 02:49 ]
Post subject:  Simple responsive iframe needed

My BACKGROUND
I've used Wordpress, plugins, and shortcodes for many years, and have spent many hours reading all the documentation / instructions, and also ALL relevant forum posts as I did not want to waste your time. However, I've been unable to get a fairly simple result, so I'm hoping your experience will assist in getting this set up right.

THE SCENARIO
I have full control over mysite.com and that's where the plugin is installed.

The iframes on mysite.com show various external.coms that I do not have any control over.

I have 3 main needs:

1. I need the iframes on my site to be responsive, sizing itself based on device / browser size
RESULT: It seems to do this fine

2. In cases where the external.com is responsive, then it needs to display correctly depending on device / browser size.
RESULT: external.com is responding responsively, however I cannot no matter what settings I put seem to be able to get the height to auto-detect / auto-adjust.

3. In cases where the external.com is not responsive, then it needs to zoom to fit the iframe size.
RESULT: I have have been completely unsuccessful in getting this feature working.

CLOSING
Please help with the correct settings or shortcode parameters that I need.

Happy to provide anything that you might need from me.

Many thanks for your work in creating this plugin, and for your supporting it.

Kind regards,

Nick

Author:  TinyWebGallery [ 25. Nov 2015, 20:05 ]
Post subject:  Re: Simple responsive iframe needed

If you don't have access you can not do auto height. See the quickstart guide for details here.
Depending on your setup different features are available.

Have you read
http://www.tinywebgallery.com/blog/responsive-iframes-with-advanced-iframe-pro
Here I explain how responsive iframe can be done and what is needed.

So 2. is not possilbe without scrollbar.

About 3. As you cannot use auto height you can only use "Auto zoom iframe with a fix ratio"
Se ehttp://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-pro-demo/auto-zoom-iframe-content#e35
for a working example.

Does this already help you?

Best, Michael

Author:  yourbesttrader [ 26. Nov 2015, 08:27 ]
Post subject:  Re: Simple responsive iframe needed

The link from your answer to number three is exactly what I needed.

I now have a better idea of what I need to do.

I'll drop you a note if I need further help with this, many thanks!

Author:  TinyWebGallery [ 26. Nov 2015, 11:21 ]
Post subject:  Re: Simple responsive iframe needed

Great.

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