Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum
https://www.tinywebgallery.com/forum/

send parameters to the iframe
https://www.tinywebgallery.com/forum/viewtopic.php?f=21&t=4489
Page 1 of 1

Author:  Krs [ 22. Nov 2017, 10:54 ]
Post subject:  send parameters to the iframe

hello,

the pro version can pass some parameter from a remote server?

i have the site site1.com with an iframe from site2.com, i want to send to the iframe on the site1.com a url like:

<iframe src="www.site2.com/index.php?r=<?=$_GET['param']?>" height="200" width="300"></iframe>

is possible?

thanks in advice

Author:  TinyWebGallery [ 22. Nov 2017, 15:21 ]
Post subject:  Re: send parameters to the iframe

Yes. Check the Documentation for the url.
also see http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-pro-demo/url-features#h49

See: {query-X [,defaultvalue]}: the value of the query parameter sent by GET or POST. ?example=myvalue would be {query-example} -> myvalue. The optional defaultvalue is used if the parameter is not found.

Best, Michael

Author:  Krs [ 28. Nov 2017, 12:17 ]
Post subject:  Re: send parameters to the iframe

i bought the pro version.

thanks a lot for the fast reply

Author:  TinyWebGallery [ 28. Nov 2017, 15:41 ]
Post subject:  Re: send parameters to the iframe

:).

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/