You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if i want crop image resaze by tag style="width=200px", and oridginal image width is 800. Crop not work, because I shod use ratio
example:
$size = getimagesize($image);
$ratio = $size[0]/$jcropper->targ_w;
$coords = $jcropper->getCoordsFromPost('imageId', $ratio);
if i want crop image resaze by tag style="width=200px", and oridginal image width is 800. Crop not work, because I shod use ratio
example:
$size = getimagesize($image);
$ratio = $size[0]/$jcropper->targ_w;
$coords = $jcropper->getCoordsFromPost('imageId', $ratio);
public function getCoordsFromPost($attribute,$ratio=1) POST[$attribute . '' . $key];
{
$coords = array('x' => null, 'y' => null, 'h' => null, 'w' => null);
foreach ($coords as $key => $value) {
$coords[$key] =
}
return $coords;
}
The text was updated successfully, but these errors were encountered: