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 22. Nov 2024, 11:10

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  [ 6 posts ] 
Author Message
PostPosted: 7. Aug 2017, 20:49 
Offline

Joined: 7. Aug 2017, 20:18
Posts: 3
I have tried to set this up. I want to use pages from MY own different website as responsive Iframes that auto resize to what the EXTERNAL page is like using the external workaround . I am always using the same configurations and only using one Iframe per page .I have added the code to the external page.

however I cannot get this to work .

the page (parent page) that i am trying to put an iframe on is https://criterionvoice.com/iframetest2/

I am added a copy of all my settings and what I did on the page to this google drive link .https://drive.google.com/drive/folders/0Bzps6E4DHuWDTEJQQjR2M3pHa1U?usp=sharing

Please help me figure this out to get it to work


Top
 Profile  
 
PostPosted: 7. Aug 2017, 21:45 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
The id in the ai_external.js is empty.

If you open the Javascript console you see the error.

Can you try to save the administration again?

in
https://criterionvoice.com/wp-content/plugins/advanced-iframe/js/ai_external.js

you should not have:
if (typeof iframe_id === 'undefined') {
var iframe_id_ = "";
} else {
var iframe_id_ = iframe_id;
}

but

if (typeof iframe_id === 'undefined') {
var iframe_id_ = "advanced_iframe";
} else {
var iframe_id_ = iframe_id;
}

you can also set this id by adding
<script>
var iframe_id="advanced_iframe";
</script>

before the ai_external.js.


Top
 Profile  
 
PostPosted: 7. Aug 2017, 22:28 
Offline

Joined: 7. Aug 2017, 20:18
Posts: 3
TinyWebGallery wrote:
The id in the ai_external.js is empty.

If you open the Javascript console you see the error.

Can you try to save the administration again?

in
https://criterionvoice.com/wp-content/plugins/advanced-iframe/js/ai_external.js

you should not have:
if (typeof iframe_id === 'undefined') {
var iframe_id_ = "";
} else {
var iframe_id_ = iframe_id;
}

but

if (typeof iframe_id === 'undefined') {
var iframe_id_ = "advanced_iframe";
} else {
var iframe_id_ = iframe_id;
}

you can also set this id by adding
<script>
var iframe_id="advanced_iframe";
</script>

before the ai_external.js.


thanks . I added the id to the settings and it doesn't show up anymore in error.

However it still is not working. now its giving me the following error

***
Advanced iframe configuration problem: The height of the page cannot be detected with the current settings. Please check the documentation of 'element_to_measure' how to define an alternative element to detect the height.
***
I don't know what this error means and why do i need to define an height , isn't it supposed to get it automatically?


Top
 Profile  
 
PostPosted: 7. Aug 2017, 23:39 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
I just was on your site:
https://criterionvoice.com/iframetest2/
seems to resize now.

you should increase the default height.

And the error message does NOT say you should enter a height. You should define the element that should be measured! Normally this works automatically but sometimes this is needed to be set manually.

Best, Michael


Top
 Profile  
 
PostPosted: 8. Aug 2017, 19:35 
Offline

Joined: 7. Aug 2017, 20:18
Posts: 3
TinyWebGallery wrote:
I just was on your site:
https://criterionvoice.com/iframetest2/
seems to resize now.

you should increase the default height.

And the error message does NOT say you should enter a height. You should define the element that should be measured! Normally this works automatically but sometimes this is needed to be set manually.

Best, Michael



Thanks so much for your help


Top
 Profile  
 
PostPosted: 8. Aug 2017, 21:29 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
glad I could help...


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

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 32 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