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.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/show_album_art.inc.php b/templates/show_album_art.inc.php
index 8304d063..f6e05283 100644
--- a/templates/show_album_art.inc.php
+++ b/templates/show_album_art.inc.php
@@ -40,7 +40,7 @@ while ($i <= $rows) {
while ($j < 4) {
$key = $i*4+$j;
$image_url = Config::get('web_path') . '/image.php?type=session&amp;image_index=' . $key;
- $dimensions = Core::image_dimensions(Art::get_from_source($_SESSION['form']['images'][$key]));
+ $dimensions = Core::image_dimensions(Art::get_from_source($_SESSION['form']['images'][$key], 'album'));
if (!isset($images[$key])) { echo "<td>&nbsp;</td>\n"; }
else {
?>