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

Problems with getting content to use all height
https://www.tinywebgallery.com/forum/viewtopic.php?f=21&t=4477
Page 1 of 1

Author:  bresso [ 14. Nov 2017, 00:45 ]
Post subject:  Problems with getting content to use all height

This is the follow up from our conversation on CodeCanyon. I have now purchased the pro version.

Conversation pasted here for clarity.


Quote:
Hi, I installed the free version prior to possibly buying the paid version. I’m using the script to embed a 360 panorama to a wordpress based site. Important to me is that it fills the height of the page. It doesn’t seem to be working for me. I’m fairly sure it should be able to do that based on other comments. What am I doing wrong? Here’s the URL: https://gregmoinephotography.com/1171-2/

2/ It also doesn’t go full screen for some reason? (it does when using the pano url directly)

3/ Would buying the pro version be useful in my case? Or will it add to loading time unnecessarily? If it will, if that’s acceptable, I’ll make a donation once my issue is fixed. Thank you!



Quote:
https://gregmoinephotography.com/1171-2/ uses a height of 100%. This is wrong as 100% means 100% of the surrounding element. So this normally defaults to 150px!

So you want to include https://pullgmp-3476.kxcdn.com/wp-content/uploads/2017/10/bar/index.html. This is a fully responsive “element”. So you have to define in the iframe how it should be handled! I think you like something like a responsive video: http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-pro-demo/responsive-videos (pro version).

2. you need to allow fullscreen. See on the basic tab how to enable this.

3. Most likely yes as responsive videos are a pro feature. There will not be any additional loading time as only enabled features do need any extra rendering.

Best, Michael



Hi Michael,

thank you for your help!

1. I left height at 600px initially then tried 100% when nothing else worked. I reverted it back to 600px. I'm not sure how to define in the iframe how that fully responsive element should be handled?

Here's the shortcode I'm using:

[advanced_iframe securitykey="aaa" use_shortcode_attributes_only="true" src="//pullgmp-3476.kxcdn.com/wp-content/uploads/2017/10/bar/index.html" width="100%" height="600" id="advanced_iframe" allowfullscreen="true" onload_resize="true" add_document_domain="true" ]

As things are, I have two issues:
- the iframe doesn't use 100% content height
- when going fullscreen and then out of fullscreen, content of iframe remains zoomed in/out

I'm in way over my head, and I would really appreciate your help!
Thank you.

Author:  TinyWebGallery [ 14. Nov 2017, 11:03 ]
Post subject:  Re: Problems with getting content to use all height

I already wrote you that 100% height does not work.

So if you like a fullscreen iframe you have the fullscreen button on the basic tab. There 100% height does work then because additional stuff is done.
After clicking on the button please use the "generate shortcode" to get a shortcode with this settings.

But is a 100% iframe what you really want? Who is opening the page?
Do you maybe looking for this:
http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-pro-demo/show-the-iframe-as-layer
to open the iframe in a 100% layer which can actually close nicely again?
Because otherwise you are stuck on the one page...

Best, Michael

Author:  bresso [ 14. Nov 2017, 18:15 ]
Post subject:  Re: Problems with getting content to use all height

Hi Michael,

I did read that 100% didn't work and changed that. Did you see my message below the ones I pasted? Fullscreen now works properly as mentioned in my last message.

If it helps, here's what I'm looking to achieve: http://bit.ly/2ig88fA

Can I hire you to get this working for me? Thank you.

Author:  TinyWebGallery [ 15. Nov 2017, 11:47 ]
Post subject:  Re: Problems with getting content to use all height

But in the example this is not fullscreen. it seems like several sections with a certain ratio.

so I think http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-pro-demo/responsive-videos is what you actually want/need. a problem may come for responsive views at it seems that the height changes if you make the browser smaller.

and yes. You can hire me. Please contact me by e-mail for details.

Best, Michael

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