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:
parent
c9ccb05a40
commit
e474991d13
14 changed files with 94 additions and 38 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue