1
0
Fork 0
mirror of https://github.com/Yetangitu/ampache synced 2025-10-04 02:09:23 +02:00

Resolve #401 new database update, reset album thumbs and use resized art...

This commit is contained in:
Karl 'vollmerk' Vollmer 2009-03-01 02:35:42 +00:00
parent c9ccb05a40
commit e474991d13
14 changed files with 94 additions and 38 deletions

View file

@ -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);