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 /lib/ui.lib.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 'lib/ui.lib.php')
-rw-r--r-- | lib/ui.lib.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/ui.lib.php b/lib/ui.lib.php index 6ee09789..1fd49d1f 100644 --- a/lib/ui.lib.php +++ b/lib/ui.lib.php @@ -235,9 +235,8 @@ function img_resize($image,$size,$type,$album_id) { $width = imagesx($src); $height = imagesy($src); - // Make it the largest always - $new_w = '275'; - $new_h = '275'; + $new_w = $size['width']; + $new_h = $size['height']; $img = imagecreatetruecolor($new_w,$new_h); |