Hi guys, I would appreciate some help,

I'm trying to embed this gallery (below) on my homepage, but not having much luck.

My website is tattooexiles.com , and I would like the gallery to sit just below the two paragraphs in the 'welcome' area, just above 'latest news' and 'forum feed'.
Everytime I try to add the code, the gallery ends up in the center of the page or throws everything else all over the page.

The gallery code and page php code are below, could someone give me some advice please? If you need anymore information just ask.

Gallery code from flickr:

<iframe align="left" src="http://www.flickr.com/slideShow/index.gne?group_id=&user_id=53462393@N05&set_id=72157626956498208&text=" frameBorder="0" width="500" height="500" scrolling="no"></iframe>

index.php

<?php include("header.php") ?>
<div id="artist" style="cursor:pointer" onclick="document.location = 'http://www.tattooexiles.com/content.php?150'"></div> 
<div id="ginvolved">
	<h3>Get Involved</h3>
    <div id="segement"></div>
    <h2>Blogs</h2>
    If you've signed up to the Exiles forum, you may have noticed that you have the option of writing your own blog! It doesn't have to be tattoo related - and could potentially be featured as an article on the main site. If you think you have something interesting to share, drop one of the admin a message!
     <div id="ssegement"></div>
      <h2>Conventions</h2>
      The event calendar for the tattoo scene is bursting at the seams! There's a whole variety of shows for you to attend, which feature anything from straight-up tattooing to hot rods, extreme sports and burlesque! This section will give you the low-down on which shows you cannot miss, convention reports and details with dates and locations. Is your show not featured? Give us a shout!
           <div id="ssegement"></div>
      <h2>Experiences</h2>
      This is YOUR section! We're featuring personal experiences of tattoo sessions, body modifications and laser removal - something everyone can learn from or relate to. From first-timers to seasoned collectors, interesting consultations and appointments, we want to hear from you! Get in touch with a site administrator with your story.
</div>
<div id="topcontent">
<h1>Welcome</h1>
<div id="leftbar">
<p>Tattoo Exiles is a site run by people who have a passion for the craft, for people who are enthusiastic about tattooing, piercing or modification. You can feel assured that our aim is to provide you with first class information on anything and everything tattoo related - whether you're an artist or an enthusiast. We're still in our infancy, but are offering members a full forum and the opportunity to write blogs. We also feature a weekly artist showcase, interviews with a variety of tattooers not to mention convention reports and articles on the history of tattooing. We also offer a private area for tattoo artists and</p> 
</div>
<div id="rightbar">
suppliers with seminars, tools and equipment reviews. In order to view this exclusive area, you will need to register on the forum and contact an administrator with details of your studio.
We always welcome feedback and suggestions - we have a dedicated area on the forum for this purpose. So pull up a pew, and get stuck in!
<br/>
<p>Thanks<br/>
Tattoo Exiles</p><br/>
</div></div><br/>
<div id="bottomcontent">
<div id="homesegment"></div>
<div id="firsthomebar">
<h3>Latest news</h3>
<div id="homelinesmall"></div>
<?php

error_reporting(E_ALL);
 ini_set("display_errors", 1); 


//$fh = fopen($feedUrl, 'r');
//$theData = fread($fh, 5);
$feedUrl = 'cachednews.html';
$rawFeed = file_get_contents($feedUrl); 

$xml = new SimpleXmlElement($rawFeed);
$i = 0;
$children =  $xml->children('http://www.w3.org/2005/Atom');
$title = $children->title;
$entries = $children->entry;


  
foreach ($entries as $item) 
{
	if ($i < 5)
	{
				echo '<p><div id="newstory"><a href="./news.php">';
		
		
				echo $item->title . '</a></div>';
  
				echo   $item->author->name . '<br/>';
				echo   substr($item->published, 0, 10) . '<br/>';
				//echo $item->author->name;
			
				$i++;
	}
}
?>

<p><div id="newstory"><a href="./news.php">View latest news</a></div></p>
</div>

<div id="secondhomebar">
<h3>Forum feed</h3>
<div id="homelinesmall"></div>
<?php 
$feedUrl = 'cachedposts.html';
$rawFeed = file_get_contents($feedUrl); 
$xml = new SimpleXmlElement($rawFeed);
$i = 0;
foreach ($xml->channel->item as $item) 
{
	if ($i < 3)
	{
				echo '<p><div id="newstory"><a href="'.   $item->link .'">';
		
		
				echo $item->title . '</a></div>';
		
				echo $item->pubDate . '<br/>';
			
				echo $item->description;
			
				$i++;
	}
}

?>


<p><div id="newstory"><a href="http://www.tattooexiles.com/forum.php">View forum</a></div></p>
</div>

<div id="thirdhomebar">
<div id="facebook" onclick="document.location='http://www.facebook.com/tattooexiles';"></div>
<div id="twitter" onclick="document.location='http://www.twitter.com/tattooexiles';"></div>
<div id="myspace"onclick="document.location='http://www.myspace.com/tattooexiles';"></div>
</div>
</div>
<iframe id="amazon" src="" style="height:0px;width:0px"></IFRAME>
</div>
</body>
<script>
document.getElementById('amazon').src = "http://www.amazon.co.uk/gp/product/0091910242?ie=UTF8&tag=bugzon-21&linkCode=as2&camp=1634&creative=6738&creativeASIN=0091910242";	
</script>
</html>

It's ok, I kinda worked it out :-)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.19 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.