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

Problem with LOTS of White Space Above and Below iframe
https://www.tinywebgallery.com/forum/viewtopic.php?f=21&t=3669
Page 1 of 2

Author:  ARizonaGirl [ 14. Apr 2014, 05:32 ]
Post subject:  Problem with LOTS of White Space Above and Below iframe

I have an enormous amount of white space above and below all of my iFrames, and I can't get rid of it.
Could you please tell me how I can fix this? Here's an example: http://tinyurl.com/nkbndr7

Author:  ARizonaGirl [ 14. Apr 2014, 05:33 ]
Post subject:  Re: Problem with LOTS of White Space Above and Below iframe

(This is when viewed at smaller responsive sizes, not full screen)

Author:  TinyWebGallery [ 14. Apr 2014, 14:12 ]
Post subject:  Re: Problem with LOTS of White Space Above and Below iframe

I cannot see the problem. I only see an iframe that is basically empty.
I used Firefox on your page.

If there is a lot of space around the iframe you should check your theme. Maybe it is adding this when the screen is smaller.

Best, Michael

Author:  ARizonaGirl [ 14. Apr 2014, 21:38 ]
Post subject:  Re: Problem with LOTS of White Space Above and Below iframe

Ok, here's an example page: http://tinyurl.com/lxbgrwh
and the screenshot is below.

Theme developer hasn't been able to help solve the problem.
Attachment:
Screen Shot 2014-04-14 at 12.35.06 PM.png
Screen Shot 2014-04-14 at 12.35.06 PM.png [ 81.83 KiB | Viewed 7386 times ]

Author:  TinyWebGallery [ 14. Apr 2014, 22:52 ]
Post subject:  Re: Problem with LOTS of White Space Above and Below iframe

The problem is the fix height of 450px.
And are you using advanced iframe pro? Because I don't see any code of it!

Best, Michael

Author:  ARizonaGirl [ 15. Apr 2014, 03:08 ]
Post subject:  Re: Problem with LOTS of White Space Above and Below iframe

Could you please take a look at this page? I've added iframe pro code, which you will be able to see. The content is not displaying.
http://tinyurl.com/nkbndr7

Author:  TinyWebGallery [ 15. Apr 2014, 07:29 ]
Post subject:  Re: Problem with LOTS of White Space Above and Below iframe

The shortcode is not o.k.

On the example page you see:
Please note: All example shortcodes use [advanced_ iframe ...] with a space after _ because otherwise it would be replaced. The real shortcode is without the space!

you have a space
advanced_ iframe -> advanced_iframe

And there is not [/advanced_iframe]

Best, Michael

Author:  ARizonaGirl [ 15. Apr 2014, 23:36 ]
Post subject:  Re: Problem with LOTS of White Space Above and Below iframe

Hi Michael, I see the content within the iFrame now. There is still all the white space above and below when viewed in smaller sizes. How can I get rid of the space?

Attachments:
Screen Shot 2014-04-15 at 2.28.46 PM.png
Screen Shot 2014-04-15 at 2.28.46 PM.png [ 38.15 KiB | Viewed 7373 times ]

Author:  TinyWebGallery [ 16. Apr 2014, 00:25 ]
Post subject:  Re: Problem with LOTS of White Space Above and Below iframe

Your inner content is still not really responsive. It has a height of 450px. This is the space you will always have.
You see this when you open the page alone. You already have the white spaces there.

But even using 100% height does not solve your problem as the content inside would than shrink to because the measurement is done by shrinking the conent to the minimum and than measuring the mimimum amout. In your case this would be 1 then.
In your case you would not need auto height but height depending on the width. e.g. 1000 width = 300 height, 500 width = 150 height... (with 100% width and height of the content).

But this would be a custom solution than.

Best, Michael

Author:  ARizonaGirl [ 16. Apr 2014, 00:41 ]
Post subject:  Re: Problem with LOTS of White Space Above and Below iframe

When viewed at actual size, there is no extra space above or below. It just when it gets smaller than the 450 x 1510 px.
This is not happening with other graphics used in the site. They scale responsively.
I'm not really clear on what your telling me to change to fix it ....

Author:  TinyWebGallery [ 16. Apr 2014, 09:01 ]
Post subject:  Re: Problem with LOTS of White Space Above and Below iframe

You animation has a fixed height of 450 px.

If you e.g. enlarge your screen to 1900 than you get white spaces left and right:
http://magnasphere.com/alpha/wp-content/uploads/animations/residential-security/3.res.swf.html

So what is needed yould be to make the whole content completely dynamic with 100% height also.
But than what I have written in my last post would happen.

So for me right now the only solution is to extend the plugin that is does not auto height but calculating the height out of the 100% width dynamically.

Best, Michael

Author:  ARizonaGirl [ 16. Apr 2014, 21:46 ]
Post subject:  Re: Problem with LOTS of White Space Above and Below iframe

?? Are you saying to make the width and height 100%? I didn't understand what you meant in the previous post.

Author:  TinyWebGallery [ 16. Apr 2014, 23:48 ]
Post subject:  Re: Problem with LOTS of White Space Above and Below iframe

yes. But also that auto height would not work. You need a custom solution for this.

Best, Michael

Author:  ARizonaGirl [ 17. Apr 2014, 01:11 ]
Post subject:  Re: Problem with LOTS of White Space Above and Below iframe

ok - so what would you charge for this custom solution?

Author:  TinyWebGallery [ 17. Apr 2014, 23:33 ]
Post subject:  Re: Problem with LOTS of White Space Above and Below iframe

Please contact me directly http://www.tinywebgallery.com/en/about.php

Best, Michael

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