diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2009-03-01 02:35:42 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2009-03-01 02:35:42 +0000 |
commit | e474991d13f41a56e85b4966e156973d33833e6c (patch) | |
tree | 690e3e2b9b2c009153d8d319ba8e4a15de6499c9 /templates/show_album_art.inc.php | |
parent | c9ccb05a40c08aadc2defeaf48e84032ae5c0a0c (diff) | |
download | ampache-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.php | 4 |
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&image=<?php echo $key; ?>&album_id=<?php echo intval($_REQUEST['album_id']); ?>"><?php echo _('Select'); ?></a>] </p> |