Update file compte.php

This commit is contained in:
Jan BELLON 2024-03-12 09:11:41 +00:00
parent a7a5700cb4
commit 6f6b5df137

View File

@ -91,7 +91,7 @@ if (isset($_FILES['banner']) && $_FILES['banner']['error'] == 0) {
// Redimensionnement de l'image
list($width, $height) = getimagesize($tempPath);
$newWidth = 400;
$newWidth = 800;
$newHeight = ($height / $width) * $newWidth;
$imageResized = imagecreatetruecolor($newWidth, $newHeight);
imagealphablending($imageResized, false);