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

Page 2 of 3

Author:  TinyWebGallery [ 10. Nov 2016, 17:31 ]
Post subject:  Re: Specifications

You have it in

But not in

From there the plugin tries to read the url.

this is the page where you are in the 2nd step! do you have a header/footer which is valid for all pages?

Best, Michael

Author:  xega [ 10. Nov 2016, 18:44 ]
Post subject:  Re: Specifications

YEEEEEEEEEEES! I added the script to footer.php and now it works!! Now on to the next problem! :D

I want to be able to link to a specific iframe - I think it is called "Map parameter to url".
So under "Url parameter handling" I have added "show" to the point "Map parameter to url".

My link is then:

But that doesn't work correctly. So I am guessing I am missing some small setting here?

Author:  TinyWebGallery [ 11. Nov 2016, 01:19 ]
Post subject:  Re: Specifications

I don't see an iframe on

Best, Michael

Author:  xega [ 11. Nov 2016, 03:22 ]
Post subject:  Re: Specifications

Oh, of course. I fixed that and now I get forwarded to the correct page but the link does not appear.

The iframe page is

The link I want to have appear is which equals [url][/url] when the url is encoded

So the combined link is:

Can you see what is missing?

Author:  TinyWebGallery [ 11. Nov 2016, 11:57 ]
Post subject:  Re: Specifications

So you have an iframe inside the iframe?

Author:  xega [ 11. Nov 2016, 15:25 ]
Post subject:  Re: Specifications

No is not an iframe.

Author:  TinyWebGallery [ 12. Nov 2016, 02:14 ]
Post subject:  Re: Specifications

but the combined link has 2 time show= in the url. For security reasons I do encode some stuff. Maybe then this is not working out of the box.

Best, Michael

Author:  xega [ 12. Nov 2016, 02:42 ]
Post subject:  Re: Specifications

Is there no Way to make this work?

Author:  xega [ 12. Nov 2016, 02:45 ]
Post subject:  Re: Specifications

Hi again, Maybe I Can use an URL shortener?

Author:  xega [ 12. Nov 2016, 07:31 ]
Post subject:  Re: Specifications

Got it to work :-)

Is there a way to have the iframe window height dynamic? Because the contents of the iframe change for me, so it would be good to have dynamic height.

Author:  TinyWebGallery [ 12. Nov 2016, 16:31 ]
Post subject:  Re: Specifications

Sure. This one of the main features ;).

You use the sub domain workaround?

is the setting

Author:  xega [ 18. Nov 2016, 20:58 ]
Post subject:  Re: Specifications

Hello again!
Your last solution worked perfectly :) Thank you very much for that.

Now I have a new problem that I REALLY hope you can help me with.

If you check out this URL:

The image that is supposed to load, doesn't. And when I inspect element I can see an error:
Error: Permission denied to access property "document"
[Learn More]showmedia.php:158:5
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at (Reason: CORS header ‘Access-Control-Allow-Origin’ missing).(unknown)
Use of getPreventDefault() is deprecated. Use defaultPrevented instead.jquery.min.js:2:40351
Expected ‘none’, URL, or filter function but found ‘alpha(’. Error in parsing value for ‘filter’. Declaration dropped.showmedia.php
Error in parsing value for ‘height’. Declaration dropped.

What is missing in my settings???

Author:  TinyWebGallery [ 19. Nov 2016, 01:54 ]
Post subject:  Re: Specifications

how looks you config right now?

I see:
Advanced iframe configuration error: You have enabled to add the url to the url on the same domain. But you use an iframe page on a different domain. You need to use the pro version of the external workaround like described in the settings. Also check the next log. There the browser message for this error is displayed.
ai.js?ver=173151:1140 DOMException: Blocked a frame with origin "" from accessing a cross-origin frame.(…)

errors in the log.

Best, Michael

Author:  xega [ 19. Nov 2016, 05:20 ]
Post subject:  Re: Specifications

hello again

But I have already added
to my footer.php. That should be enough, right?

And my code for the iframe is:
[advanced_iframe securitykey="xxxx" use_shortcode_attributes_only="true" src="" id="legstadaleit" width="100%" height="800" scrolling="auto" name="legstadaleit" onload_resize="true" add_iframe_url_as_param="same" map_parameter_to_url="page" add_document_domain="true" and document_domain=""]

Author:  TinyWebGallery [ 20. Nov 2016, 09:04 ]
Post subject:  Re: Specifications

Right. Seems my browser was caching and I don't get any errors from advanced iframe but your messages

Seems your code tries to access the document of the parent but not the one of the iframe itself.
Error: Permission denied to access property "document"

There you have to check your code that it does not access the element of the main browser.

Best, Michael

Page 2 of 3 All times are UTC + 1 hour [ DST ]
Powered by phpBB® Forum Software © phpBB Group