Crop Images

You have
Notice: Undefined variable: bigtree in /home/bidbyte/diagnostico.bidbyte.tec.br/core/admin/modules/pages/_front-end-crop.php on line 4

Notice: Trying to access array offset on value of type null in /home/bidbyte/diagnostico.bidbyte.tec.br/core/admin/modules/pages/_front-end-crop.php on line 4

Warning: count(): Parameter must be an array or an object that implements Countable in /home/bidbyte/diagnostico.bidbyte.tec.br/core/admin/modules/pages/_front-end-crop.php on line 4
0 image 1) { ?>s that needs to be cropped.

420) { $box_height = ceil($box_height * 420 / $box_width); $box_width = 420; } $preview_width = $cwidth; $preview_height = $cheight; if ($preview_width > 420) { $preview_height = ceil($preview_height * 420 / $preview_width); $preview_width = 420; } $image_ratio = $box_width / $width; $min_width = ceil($cwidth * $image_ratio); $min_height = ceil($cheight * $image_ratio); if ($preview_height < $box_height) { $preview_margin = floor(($box_height - $preview_height) / 2); $box_margin = 0; } else { $box_margin = floor(($preview_height - $box_height) / 2); $preview_margin = 0; } $initial_x = ceil(($box_width - $min_width) / 2); $initial_y = ceil(($box_height - $min_height) / 2); ?> 1) { ?> style="display: none;">