Update file compte.php
This commit is contained in:
parent
c744e81a32
commit
a7a5700cb4
@ -91,7 +91,7 @@ if (isset($_FILES['banner']) && $_FILES['banner']['error'] == 0) {
|
||||
|
||||
// Redimensionnement de l'image
|
||||
list($width, $height) = getimagesize($tempPath);
|
||||
$newWidth = 600;
|
||||
$newWidth = 400;
|
||||
$newHeight = ($height / $width) * $newWidth;
|
||||
$imageResized = imagecreatetruecolor($newWidth, $newHeight);
|
||||
imagealphablending($imageResized, false);
|
||||
|
Loading…
x
Reference in New Issue
Block a user