Jump to content

boyntonstu

New Members
  • Posts

    4
  • Joined

  • Last visited

    Never

Everything posted by boyntonstu

  1. Hi, I have not addressed the contact page. The thumbnails needed to point to a PHP instead of an HTML, There was a PHB data base for the 24 photos. This is all brand new to me. May I send you the contact page code? Have you seen my inventions? Thanks, Stu Lieberman
  2. Thanks for looking. I will attempt doing what you advised. Stu
  3. I am 72 and just learning HTML and PHP. I was forced to take over control of my wife's website: www.janlieberman.com There is a photo gallery with thumbnails that expand to full size when you click them. These photos are linked to a php file and I cannot get it to function. I found a way to make the thumbnails work using direct html but that created another problem. There is a slide show that runs too slow using the html rather than the php code. This is the code that needs examining: <?php // id is defined in the other files include "photos_db.php"; if ($Photos[$id]['title'] == '') { $PageTitle = "Jan Lieberman - Photo"; } else { $PageTitle = $Photos[$id]['title'] . " - Jan Lieberman Photo"; } $FileName = $Photos[$id]['filename']; include "header.php"; echo <<< EOF <h1>Jan Lieberman - <font size="3"><a href="photos.html">Photo Gallery</a></font></h1> <table class="list"> <tr><td align="center"> EOF; if ($id != 1) { echo '<a href="photo_' . $Photos[$id-1]['filename'] . '.html">< Previous</a>'; } echo " "; if ($id != sizeof($Photos)) { echo '<a href="photo_' . $Photos[$id+1]['filename'] . '.html">Next ></a>'; } echo '</td></tr>'; echo '<tr><td align="center"><img src="/images/' . $FileName . '.jpg" border="0" alt="' . $PageTitle . '">'; if ($Photos[$id]['title'] != '') { echo "<br>" . $Photos[$id]['title']; } echo '</td></tr>' . "\n"; echo "</table><br>\n"; include "footer.php"; ?>
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.