Resize to width only
Hi there,
I want to resize pictures on the basis of width with height automatically adjusting in size in proportion to width resize.
Looking at the code, I see it has set height to 120px:
$WA_UploadResult2_Params["WA_UploadResult2_1"] = array(
'UploadFolder' => "files/Images/",
'FileName' => "[FileName]",
'DefaultFileName' => "",
'ResizeType' => "2",
'ResizeWidth' => "200",
'ResizeHeight' => "120",
'ResizeFillColor' => "#FFFFFF" );
If I remove the 120, will it do the trick? eg.:
$WA_UploadResult2_Params["WA_UploadResult2_1"] = array(
'UploadFolder' => "files/Images/",
'FileName' => "[FileName]",
'DefaultFileName' => "",
'ResizeType' => "2",
'ResizeWidth' => "200",
'ResizeHeight' => "",
'ResizeFillColor' => "#FFFFFF" );
Many thanks