Update file compte.php
This commit is contained in:
parent
33596f3823
commit
fccc617445
@ -54,6 +54,8 @@ if (isset($_FILES['profile_picture']) && $_FILES['profile_picture']['error'] ==
|
||||
$webPath = $root . $path;
|
||||
|
||||
// Redimensionnement de l'image
|
||||
list($width, $height) = getimagesize($tempPath);
|
||||
|
||||
$newWidth = 128;
|
||||
$newHeight = 128;
|
||||
$imageResized = imagecreatetruecolor($newWidth, $newHeight);
|
||||
|
Loading…
x
Reference in New Issue
Block a user