<?php
require_once ('http://www.905gallery.com/gallery/embed.php');
$ret = GalleryEmbed::init( array ('g2Uri'=>'http://www.905gallery.com/gallery/main.php', 'embedUri'=>'http://www.905gallery.com/default.htmlgallery2Embedded.php', 'fullInit'=>'false'));
if ($ret) {
print 'G2 init error: '.$ret->getAsHtml();
}
$g2data = GalleryEmbed::handleRequest();
if ($g2data['isDone']) {
exit;
}
GalleryEmbed::done();
?>
<!-- Your Html Head -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>905 Gallery</title>
<link href="http://www.905gallery.com/style/main.css" rel="stylesheet" type="text/css" />
<!-- Gallery's Head -->
<?php
echo $g2data['headHtml'];
?>
<!-- End Gallery's Head -->
</head>
<!-- End Your Html Head -->
<!-- Your Html Body -->
<body>
<div id="wrapper">
<div id="header">
<div id="navigation">
<table width="178" border="0" align="left">
<tr>
<td width="208"> </td>
</tr>
</table>
<ul id="navbar" >
<li><a href="#">Home</a><ul>
</ul>
</li>
<li><a href="#">Gallery</a>
<ul>
<li><a href="#">Gallery</a></li>
</ul>
</li>
<li><a href="#">Gallery</a>
<ul>
<li><a href="#">Gallery</a></li>
</ul>
</li>
<li><a href="#">Gallery</a>
</li>
<li><a href="#">Gallery</a>
</li>
<li><a href="#">Blog</a>
</li>
<li><a href="#">FAQ</a>
</li>
<li><a href="#">Contact</a>
</li>
<!-- ... and so on ... -->
</ul>
</div>
</div>
<div id="content">
<p><font color="#FFFF00">
</font> </p>
<p> </p>
<p> Thank you for visiting our website. </p></div>
</span>
</p>
<br/>
<div id="gallery">
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
</div>
<!-- End Your Html Body -->
<!-- Gallery's Body -->
<?php
echo $g2data['bodyHtml'];
?>
<!-- End Gallery's Body -->
<!-- Your Html Footer -->
<div class="center" id="footer">
<p class="center">
<span class="copyright"> © Copyright 2010 905Gallery.com<br />
Web Design
by <a href="mailto:badincite@yahoo.com" class="copyright">JB</a></span>
</div>
</body>
</html>
<!-- End Your Html Footer -->
Posts: 8339
require_once ('http://www.905gallery.com/gallery/embed.php');
that is supposed to be a path not a url
urls start with http://
a path is usually something like /usr/local/www/mysite.com/gallery2/embed.php or /home/myname/public_html/gallery2/embed.php or c:\inetpub\wwwroot\mysite.com\gallery2\embed.php
you can look in gallery2/config.php for a hint to your path
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 8339
oh, but if you are placing your file in /gallery then a relative path is ok too
require_once ('embed.php');
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 10
How would I got about getting it to look like this
http://andrewprokos.com/photos/washington-dc/panoramic-view-of-white-house-and-mall-night/
Is there a clear theme so there's no gallery background?
Got it I just moved it into the gallery directory, and fixed the file paths
http://905gallery.com/gallery/gallery2Embedded.php
Posts: 8339
Yes
http://www.flashyourweb.com/filemgmt/index.php?id=44
example
if you look at the source of that page, you'll notice I added some "Gallery Adjustment Styles" after the call to gallery's head.
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2