summaryrefslogtreecommitdiffstats
path: root/templates/show_album_art.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/show_album_art.inc.php')
-rw-r--r--templates/show_album_art.inc.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/templates/show_album_art.inc.php b/templates/show_album_art.inc.php
index 49e92809..dc7afc47 100644
--- a/templates/show_album_art.inc.php
+++ b/templates/show_album_art.inc.php
@@ -38,7 +38,7 @@ while ($i <= $rows) {
?>
<td align="center">
<a href="<?php echo $image_url; ?>" target="_blank">
- <img src="<?php echo $image_url; ?>" border="0" height="175" width="175" /><br />
+ <img src="<?php echo $image_url; ?>" alt="Album Art" border="0" height="175" width="175" /><br />
</a>
<p align="center">
[<a href="<?php echo Config::get('web_path'); ?>/albums.php?action=select_art&amp;image=<?php echo $key; ?>&amp;album_id=<?php echo urlencode($_REQUEST['album_id']); ?>">Select</a>]
@@ -48,7 +48,8 @@ while ($i <= $rows) {
} // end else
$j++;
} // end while cells
- echo "</tr>\n<tr>";
+ if($i < $rows) { echo "</tr>\n<tr>"; }
+ else { echo "</tr>"; }
$i++;
} // end while
?>