A couple of new cool features of the next advanced iframe pro version are already available as demo


While optimizing the administration I came across 2 issues.

  1. Debugging on IOS is a pain in the ass if you don’t have a mac
  2. Some people liked to share their content to other people in an optimal way

So I have implemented a kind of debug console for configuration errors and also the option that you can install advanced iframe pro on your WordPress installation and give your users only 2 lines of html to include parts of your page. One line is the Javascript that does auto height and such stuff and the 2nd line is a simple html iframe. This covers the main 2 things people like: An iframe with only a part of your website and auto height.

So take a look at the demos already:

  1. Debug Javascript on mobile devices
  2. Invert the advanced iframe logic

If you like to test this features of 7.5.2  already please send me a message.

Have fun using Advanced Iframe pro,


TWG 2.4.4 is available


The registered version has a really nice new feature:

Support for the masonary thumbnail style. See http://www.tinywebgallery.com/demo/twg_album/01_Administration~01_masonry. Resize the browser to see how this effect looks like :).

Also new:

  • New: Full support of php 7 of the flash uploader
  • New: No backup of the counter is made anymore after introducing flock.
  • Fix: counter.txt and useronline.txt where not created after introducing flock
  • Fix: Some minor php 7 fixes
  • Fix: Fallback for seo tree improved. Was not working on tinywebgallery because of the hoster strato
  • fix: php 7 type casting bugfix in the administration fixed.

Get the latest version or the patch here: http://www.tinywebgallery.com/en/download.php.

Have fun using TWG,


TWG 2.4.3 is available


a nice update for TWG is available.

Especially users with high load should get this release as the xml files which are updated at each request are locked now and so errors when updating this files cannot happen anymore.

Also the browser detection was updated to the latest version and improvements in the full screen mode was made. Now there is a minimum size for the full screen images that does increase the image size a little bit but also increase the quality of images on mobile devices and decreases the server load as more images are reused!

From now on in the front end the html5 uploader is the default and not the flash anymore. You can configure this by yourself of you want the old way back. I also changed the error message for the flash so that you can switch directly to the html5 uploader.

Get the latest version or the patch here: http://www.tinywebgallery.com/en/download.php

Have fun using TWG,


Advanced iframe pro 7.4 is online


Advanced iframe pro 7.4 is now available on CodeCanyon.

The main new features are:

  • “Hide part of an iframe” is now also included to the area selector.
  • Post message communication is now default for the pro version
  • Improved documentation of the external workaround tab.
  • External workaround was improved at many places
  • Improved messages to improve configuration issues

For all new features please check: http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-history

There are 11 new features and 2 fixes in this release!

Best, Michael

Why you should not mix http and https when using iframes

In the administration of advanced iframe I have written the following note:

"Please do not use a different protocol for the iframe: Do not mix http and https if possible!".

What does this mean?

  1. If the protocol of your page is http than use a http page inside the iframe.
  2. If the protocol of your page is https than use a https page inside the iframe.

But why should you not do this?

1. https with http iframe

Lets start with the one you can not do:  Your page is https and your iframe page is http. This scenario is called "Mixed Active Content" and is blocked by all major browsers now. You can open this test page and check the browser console (F12) for the errors you get then!

-> HTTP pages cannot be included directly into HTTPS pages!

2. http with https iframe

-> HTTPS pages can be included into HTTP pages!

What you  can do is including an iframe with a https page into a http page. This not recommended as is generally bad practice to embed an iframe with content served over HTTPS within a page served over plain HTTP (or mix content). The reason for this is, that there's no good way for the user to check they're using the HTTPS site they intend (unless the user really wants to check the source of the page). They also don't know that e.g. their login credentials are sent over HTTPS as in the browser address only HTTP is visible.
Also you need to try if your pages are working on all major browsers. I already had users with side effects when it comes to cookies or session handling!

My recommendation is to upgrade your http page to https!

IF YOU STILL WANT TO DO THIS: The external workaround is by default NOT working in this setup as the Javascript is than loaded from an http domain which is blocked! To get this working in the pro version you need to

  1. Enable "Use post message for communication" on the "External workaround" tab.
  2. Copy the generated ai_external.js to a https domain and include it from there! Remember to copy the ai_external.js each time you change something with the "save" icon in the administration.

See a working example here: http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-pro-demo/external-workaround-with-post-message#e53

Have fun using advanced iframe (pro),


New advanced iframe pro demos

I have created 8 new demos for advanced iframe for existing and the new features that come with 7.3:

Hope this helps you to use advanced iframe even better.

Version 7.3 is now in the testing phase and will be released in a few days.

Have fun using advanced iframe,


TWG 2.4 preview with html5 uploader is online


TWG 2.4 with html5 uploader is available as preview.

In the front end now for mobile devices plupload is included as html5 uploader.
There are 15 new settings in the config.php to configure it ($html5_*).

Feel free to try this version:

PLEASE NOTE: This version is now feature complete. I’ll now prepare the website and then I release it.

Get it here:

Please provide feedback!

Have fun using TWG,