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 25. Nov 2024, 07:50

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  [ 3 posts ] 
Author Message
PostPosted: 3. Feb 2015, 07:15 
Offline

Joined: 3. Feb 2015, 06:53
Posts: 2
Hi,
I have this plugin on wordpress on a local server. No matter what I do, the iframe has a width of 1px. The iframe will show momentarily but then go to 1px wide.

Here is the html on the page:
Code:
<iframe id="forum_iframe" name="forum" src="http://127.0.0.1/phpbb/index.php" width="1px" height="1060px" scrolling="auto" frameborder="0" border="0" allowtransparency="true" onload=";setTimeout(function() { aiResizeIframe(ifrm_forum_iframe, &quot;true&quot;); },5000);"></iframe>


And this is the proceeding script:
Code:
<script type="text/javascript">   var ai_iframe_width_forum_iframe = 0;   var ai_iframe_height_forum_iframe = 0;var aiIsIe8=false;var aiReadyCallbacks = ( typeof aiReadyCallbacks != 'undefined' && aiReadyCallbacks instanceof Array ) ? aiReadyCallbacks : [];var onloadFiredforum_iframe = false;     function aiShowIframe() { jQuery("#forum_iframe").css("visibility", "visible");}    function aiShowIframeId(id_iframe) { jQuery(id_iframe).css("visibility", "visible");}    function aiResizeIframeHeight(height) { aiResizeIframeHeight(height,forum_iframe); }    function aiResizeIframeHeightId(height,width,id) {aiResizeIframeHeightById(id,height);} </script>


This is the shortcode I am using on my page in wordpress:
Code:
[advanced_iframe securitykey="ba62f2e98c62130eabd311e84bd1bd1d88870a77" src="http://127.0.0.1/phpbb/index.php" id="forum_iframe" name="forum" width="1000px" height="1400px" onload_resize="true"]


Any Idea what I'm doing wrong?
Attachment:
File comment: What the iframe looks like
iframe screenshot.png
iframe screenshot.png [ 2.46 KiB | Viewed 2747 times ]


Thanks for your help.

Peter


Top
 Profile  
 
PostPosted: 3. Feb 2015, 10:11 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
You have set resize width to true and your content is able to have a width of 1px.
If you select this, the plugin tries to make the iframe as small as possible what in your case would be 1.

Simply set this to false.

Best, Michael


Top
 Profile  
 
PostPosted: 4. Feb 2015, 02:37 
Offline

Joined: 3. Feb 2015, 06:53
Posts: 2
Thank you for your help. That worked just fine!!


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

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: Bing [Bot] and 36 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