Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum

Get help for TinyWebGallery, the best image gallery. The forum is also home for the Joomla JFUploader, TWG Flash Uploader and the Wordpress flash uploader.
It is currently 24. Nov 2024, 18:53

This forum is readonly now. Please use the new forum if you don't find the answer to your question here. The new forum is at https://www.tinywebgallery.com/blog/forum/


All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: Auto-height
PostPosted: 10. May 2018, 05:51 
Offline

Joined: 8. May 2018, 01:37
Posts: 4
I am trying to adjust the iframe for auto-height .. all trials failed. Every time I get fixed height.
I am activating almost all options and nothing improved. The current copy and paste code is:
<script>
var iframe_id = "insurance01";
var updateIframeHeight = "true";
var hide_page_until_loaded_external = "true";
var onload_show_element_only = "#iframe-right";
var iframe_content_id = "#iframe-content|#iframe-right";
var iframe_content_styles = "color:#ff0000|float:none;height:300px";
</script>
<script src="https://www.adamtravel.de/wp-content/plugins/advanced-iframe/js/ai_external.js"></script>

[advanced_iframe securitykey="c4d7bb8e4fe8f91b75c60c19fdda3b35ae4e4fe9" use_shortcode_attributes_only="true"  src="https://www.reiseversicherung.de/baRuntime/start?rendermode=31&amp;ba=standard3&amp;agency=040011000016" id="insurance01" width="100%" height="1600" scrolling="no" name="insurance01" onload_scroll_top="true" hide_page_until_loaded="true" ]


Top
 Profile  
 
 Post subject: Re: Auto-height
PostPosted: 11. May 2018, 23:11 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
https://www.reiseversicherung.de/baRuntime/start?rendermode=31&amp;ba=standard3&amp;agency=040011000016

does not contain ai_external.js. So where have you placed it? The file has to be included to the page in the iframe like described in the documentation.

Best, Michael


Top
 Profile  
 
 Post subject: Re: Auto-height
PostPosted: 3. Jun 2018, 05:26 
Offline

Joined: 8. May 2018, 01:37
Posts: 4
So, Auto-height will not work unless there is that js in the included page? what shall I do if this is provided to me from third party? any other solutions?


Top
 Profile  
 
 Post subject: Re: Auto-height
PostPosted: 3. Jun 2018, 23:12 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
What is "this"? The page in the iframe?
If you are not able to add the ai_external.js the you cannot use auto height as there is no way to detect the size of the content in the iframe. And there is no solution. I would have added this to my plugin already if there would be one.

See: http://www.tinywebgallery.com/blog/adva ... y-overview

Best, Michael


Top
 Profile  
 
 Post subject: Re: Auto-height
PostPosted: 4. Jun 2018, 00:19 
Offline

Joined: 8. May 2018, 01:37
Posts: 4
I would think of a proxy then that injects the js in the included (framed) page.
Thank you .. I have bought plugin for this feature, I did not understand that ..
for example. .. is it possible to include the remote page in a local php file which has the js then it goes back to the frame .. just a concept!


Top
 Profile  
 
 Post subject: Re: Auto-height
PostPosted: 4. Jun 2018, 13:55 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
See:

http://www.tinywebgallery.com/blog/using-a-reverse-proxy-to-enable-all-features-of-advanced-iframe-pro

Can you setup this on your server?

Also a software proxy is an option. I have played around with this and this only works for very simple websites.
This is for sure no generic solution I can offer to everyone.

Best, Michael


Top
 Profile  
 
 Post subject: Re: Auto-height
PostPosted: 4. Jun 2018, 18:45 
Offline

Joined: 8. May 2018, 01:37
Posts: 4
Interesting!
You are genius :-)
I am running the website on a shared server .. I will need to check if I can use .htaccess to workaround or php proxy solutions


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 33 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron
powered by phpbb | Datenschutz/ Privacy policy