summaryrefslogtreecommitdiffstats
path: root/templates/show_album_art.inc.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2009-03-01 02:35:42 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2009-03-01 02:35:42 +0000
commite474991d13f41a56e85b4966e156973d33833e6c (patch)
tree690e3e2b9b2c009153d8d319ba8e4a15de6499c9 /templates/show_album_art.inc.php
parentc9ccb05a40c08aadc2defeaf48e84032ae5c0a0c (diff)
downloadampache-e474991d13f41a56e85b4966e156973d33833e6c.tar.gz
ampache-e474991d13f41a56e85b4966e156973d33833e6c.tar.bz2
ampache-e474991d13f41a56e85b4966e156973d33833e6c.zip
Resolve #401 new database update, reset album thumbs and use resized art...
Diffstat (limited to 'templates/show_album_art.inc.php')
-rw-r--r--templates/show_album_art.inc.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/templates/show_album_art.inc.php b/templates/show_album_art.inc.php
index 0ce49909..373f662d 100644
--- a/templates/show_album_art.inc.php
+++ b/templates/show_album_art.inc.php
@@ -42,7 +42,9 @@ while ($i <= $rows) {
<br />
<p align="center">
<?php if (is_array($dimensions)) { ?>
- [<?php echo intval($dimensions['width']); ?>x<?php echo intval($dimensions['heigh']); ?>]
+ [<?php echo intval($dimensions['width']); ?>x<?php echo intval($dimensions['height']); ?>]
+ <?php } else { ?>
+ <span class="error"><?php echo _('Invalid'); ?></span>
<?php } ?>
[<a href="<?php echo Config::get('web_path'); ?>/albums.php?action=select_art&amp;image=<?php echo $key; ?>&amp;album_id=<?php echo intval($_REQUEST['album_id']); ?>"><?php echo _('Select'); ?></a>]
</p>