cdman Posted November 9, 2012 Share Posted November 9, 2012 Hello, I am using an AJAX gallery called Minishowcase: http://minishowcase.net The gallery is in a PHP file (index.php). I have inserted an iFrame into my main site that calls the php file: <iframe src='index.php' frameborder='0' width='100%' height='100%' allowtransparency='false' scrolling="no" frameborder="0" align="middle"></iframe> It works fine until I try to open one of the images in the gallery. It keeps opening inside of the iFrame and getting cut off. Is there an easy way to make the images open outside of the iFrame? I've tried to find the code that opens the image but can not. Thanks. Quote Link to comment https://forums.phpfreaks.com/topic/270511-break-out-of-iframe-in-php/ Share on other sites More sharing options...
Andy123 Posted November 9, 2012 Share Posted November 9, 2012 Hello cdman, A while ago, I saw a question about this on Stack Overflow, which you can find here. Best regards, Andy Quote Link to comment https://forums.phpfreaks.com/topic/270511-break-out-of-iframe-in-php/#findComment-1391385 Share on other sites More sharing options...
cdman Posted November 14, 2012 Author Share Posted November 14, 2012 That solution did not work for me. The gallery uses Slimbox to display the images which is a version of Lightbox. I looked all through the code but can't get it to open in parent document. Quote Link to comment https://forums.phpfreaks.com/topic/270511-break-out-of-iframe-in-php/#findComment-1392426 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.