changement taille image
This commit is contained in:
parent
3836927aa2
commit
ba75ac2dff
1 changed files with 1 additions and 1 deletions
|
|
@ -200,7 +200,7 @@
|
||||||
$strSource = $_FILES['thumbnail']['tmp_name'];
|
$strSource = $_FILES['thumbnail']['tmp_name'];
|
||||||
list($intWidth, $intHeight) = getimagesize($strSource);
|
list($intWidth, $intHeight) = getimagesize($strSource);
|
||||||
|
|
||||||
$intDestWidth = 200; $intDestHeight = 250;
|
$intDestWidth = 1280; $intDestHeight = 720;
|
||||||
$fltDestRatio = $intDestWidth / $intDestHeight;
|
$fltDestRatio = $intDestWidth / $intDestHeight;
|
||||||
$fltSourceRatio = $intWidth / $intHeight;
|
$fltSourceRatio = $intWidth / $intHeight;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue