Update of /cvsroot/openfirst/photogallery
In directory sc8-pr-cvs1:/tmp/cvs-serv23033
Modified Files:
gallery.php index.php
Log Message:
Fix some alt tag issues, etc. make it closer to being valid HTML
Index: gallery.php
===================================================================
RCS file: /cvsroot/openfirst/photogallery/gallery.php,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** gallery.php 1 Sep 2003 15:29:03 -0000 1.11
--- gallery.php 1 Sep 2003 20:10:36 -0000 1.12
***************
*** 84,99 ****
// Setup column for the next image
! echo " <td width='34%'><center><a target='_blank' href='viewphoto.php?ID=".$_GET['ID']."&PHOTO=".$file."'>";
// Check if there is a thumb available for this image, if so then use it or else preview the actual reduced image
if(file_exists($dirlocate."/thumbs/".$file)){
! echo "<img border='1px' height=100 width=152 src='".$dirlocate."/thumbs/".$file."'>";
} else {
! echo "<img border='1px' height=100 width=152 src='".$dirlocate."/".$file."'>";
}
// Add e-mail and image expand buttons as well as close column
! echo "</a><br><a href='email.php?PHOTO=$file&ID=".$_GET['ID']."'><img border='0' src=email.PNG alt='Email to a friend'></a>
! <a target='_blank' href='viewphoto.php?ID=".$_GET['ID']."&PHOTO=".$file."'><img border='0' alt='Enlarge' src='enlarge.PNG'></a>
</center></td>\n";
--- 84,99 ----
// Setup column for the next image
! echo " <td width='34%'><center><a target='_blank' href='viewphoto.php?ID=".$_GET['ID']."&PHOTO=".$file."'>";
// Check if there is a thumb available for this image, if so then use it or else preview the actual reduced image
if(file_exists($dirlocate."/thumbs/".$file)){
! echo "<img border='1px' height=100 width=152 alt='Photo Gallery Image' src='".$dirlocate."/thumbs/".$file."'>";
} else {
! echo "<img border='1px' height=100 width=152 alt='Photo Gallery Image' src='".$dirlocate."/".$file."'>";
}
// Add e-mail and image expand buttons as well as close column
! echo "</a><br><a href='email.php?PHOTO=$file&ID=".$_GET['ID']."'><img border='0' src='email.PNG' alt='Email to a friend'></a>
! <a target='_blank' href='viewphoto.php?ID=".$_GET['ID']."&PHOTO=".$file."'><img border='0' alt='Enlarge' src='enlarge.PNG'></a>
</center></td>\n";
Index: index.php
===================================================================
RCS file: /cvsroot/openfirst/photogallery/index.php,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** index.php 1 Sep 2003 15:29:04 -0000 1.9
--- index.php 1 Sep 2003 20:10:37 -0000 1.10
***************
*** 51,55 ****
?>
<tr>
! <td width="61"><div align="center"><a href="gallery.php?ID=<?php echo $gallery->ID; ?>" style="color: #000000;"><img src="gallery.PNG" border="0"></a></div></td>
<td width="147"><a href='gallery.php?ID=<?php echo $gallery->ID; ?>' style="color: #000000;"><?php echo $gallery->GalleryName; ?></a></td>
<td width="297"><?php echo $gallery->Description; ?></td>
--- 51,55 ----
?>
<tr>
! <td width="61"><div align="center"><a href="gallery.php?ID=<?php echo $gallery->ID; ?>" style="color: #000000;"><img src="gallery.PNG" alt="Gallery" border="0"></a></div></td>
<td width="147"><a href='gallery.php?ID=<?php echo $gallery->ID; ?>' style="color: #000000;"><?php echo $gallery->GalleryName; ?></a></td>
<td width="297"><?php echo $gallery->Description; ?></td>
|