Update file compte.php

This commit is contained in:
Jan BELLON 2024-03-12 09:09:42 +00:00
parent c744e81a32
commit a7a5700cb4

View File

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