[Solved] Gallery in iframe is blank

bbela

Joined: 2012-09-30
Posts: 7
Posted: Thu, 2014-02-27 21:10

Hi dear members

i have a another site, and i will put in this site my gallery. I use this script:

Quote:
<p class="rteleft"><iframe marginwidth="1" marginheight="1" src="http://www.mysite.com/gallery/index.php" frameborder="0" width="100%" scrolling="auto" height="100%" style="width: 970px; height: 1500px; overflow-y:scroll overflow-x:hidden"></iframe></p>

I use this script for other sites, without a problem, but with gallery see inside the site only blank
Please could someone advise me in this?

Thanks

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Thu, 2014-02-27 21:49

i think this is for security measures it is not allowed in cross domain sites.
i would have to dig though old commits but your welcome to look as well.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
bbela

Joined: 2012-09-30
Posts: 7
Posted: Thu, 2014-02-27 21:58

Dave, thank you for your answer, i have the gallery site as subdomain. But now i know why see only blank.
IS possible to turn off this security setting?

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Thu, 2014-02-27 22:01

it is hard coded some place I can't recall. So no there is not a 'setting'

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
bbela

Joined: 2012-09-30
Posts: 7
Posted: Thu, 2014-02-27 22:07

Ok Dave, thanks

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Fri, 2014-02-28 03:13
 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Fri, 2014-02-28 04:07

you could use the REST interface instead http://galleryproject.org/node/106581

-s
________________________________
All New jQuery Minislideshow for G2/G3

 
bbela

Joined: 2012-09-30
Posts: 7
Posted: Fri, 2014-02-28 14:58

Dave suprsidr thanks for helping ... ;)