I'm trying to get a new installation of 4images to fit my site's layout. I've concluded that using iFrames is the only way to get it to look the way I want it.
I want to keep the pages forced into the iFrame in my template so that the gallery can't be loaded with out my site menus, etc. attached. I found a Dreamweaver plugin called
iFramer that works very well (in theory). But when I add its code to the includes/page_header.php (is that the correct place?) and try to call a 4images page in my browser, I get an error. The page with my iFrame opens up, but it just says 'Security Violation' where the iFrame content should have loaded.
This is the code that iFramer adds before the opening php tag:
<script language="javascript" type="text/javascript">
// iFramer_hp v1.1
if (window.name!='4images' && window.name!='booker_'
&& !((self.innerHeight == 0) && (self.innerWidth == 0)))
top.location.replace('../../galleries.php?galleries/includes/page_header.php~4images');
// iFramer_hp End
</script>
I know this is an unusual problem, but I'd appreciate any thoughts. Thanks in advance!
David G