Picture Album Title

    tags $alt = "My Picture"; // Set average picture width below. This really just defines the // width of the table holding the buttons under the picture. $width = 300; // Edit the call to correspond to the actual image call // for the button. If not using graphics, replace with text. $back_button = 'Back'; $home_button = 'Home'; $next_button = 'Next'; // The following lines create a menu link on the left of the frame. $count = 1; while ($count <= $last) { echo '
  • '; echo 'Picture'; echo $count; echo '
  • '; $count +=1; } echo '
'; // If you want to include captions on the pictures, uncomment these lines // by removing the /* and */ lines belo, filling in the captions, and create // as many more lines as needed. The number in [] should match // the picture number. /* $caption = array(); $caption[1]= "Caption for first picture"; $caption[2] = "Caption for second picture"; $caption[3] = "Caption for third picture"; */ // continue for each picture. echo "
"; echo 'Picture '; echo $num; echo '/'; echo $last; echo '
'; $picname = "pic".$num.".jpg"; echo '';
echo $alt;
echo ''; // if using captions, uncomment the following lines by // removing the /* and */ lines /* echo '
'; echo $caption[$num]; */ // Table width may be too wide or narrow, depending on picture sizes. // Adust as needed. echo ''; echo ''; echo '
'; if ($num != 1) { $previous = $num - 1; echo ''; echo $back_button; echo ''; } echo ''; // Home Button echo ' '; echo $home_button; echo ''; echo ''; // Next Button if ($num != $last) { $next = $num+1; echo ''; echo $next_button; echo ''; } echo '
'; echo '
'; ?>