Hey there. Can someone help me place this i-frame in the photos.html page correctly? I am wanting the i-frame pics to show up right underneath the pictures already there. Any help would be greatly appreciated.
Here is the website page - http://thezobrists.com/photos.html
here is the i-frame -
<iframe src="http://snapwidget.com/in/?u=dGhlem9icmlzdHN8aW58MTI1fDR8MTR8fHllc3w1fGZhZGVPdXR8b25TdGFydHx5ZXM=&v=25514" title="Instagram Widget" allowTransparency="true" frameborder="0" scrolling="no" style="border:none; overflow:hidden; width:560px; height:1960px"></iframe>
Here is the photos.html code:
<?
$page = "Photos";
$stylesheet = array("photos");
require realpath($_SERVER['DOCUMENT_ROOT'].'/incs/header.php');
$album=$_GET['album'];
$ref=$_SERVER["PHP_SELF"];
$imgDir=realpath($_SERVER['DOCUMENT_ROOT'].'/images/gallery/photos/');
$bkLnk="<a href='/photos.html' class='back'>Back to Albums</a>\n";
if(!$album){
echo "<h2>Photos</h2>";
$g=new gallery('album','album','clear','');
$dirArray=$g->scanThis($imgDir);
$len=count($dirArray);
for($i=0;$i<$len;$i++){$g->album($ref,$imgDir,$dirArray[$i]);}
$g->draw();
}else{
$albumDir=$imgDir."/".$album;
echo($bkLnk);
$g=new gallery('album','photos','clear','pp[1]');
echo "<h3>".$g->addSpaces($album)."</h3>\n".
"<div class='clear'></div>";
$imgArray=$g->scanThis($albumDir);
$len=count($imgArray);
for($i=0;$i<$len;$i++){$g->photo($albumDir,$imgArray[$i]);}
$g->draw();
echo($bkLnk);
}
require realpath($_SERVER['DOCUMENT_ROOT'].'/incs/footer.php'); ?>