Melanie Pochmann Correa de Barros
Cascavel - PR
Notice (8): Undefined variable: img_src [APP/Plugin/Thumbnail/View/Helper/ThumbnailHelper.php, line 240]Code Context}
$width = imagesx($img_src);
$img = 'img/casting/63c0772424a39.jpg' $ext = false $new_size = array( 'width' => '600', 'height' => '400' )ThumbnailHelper::_crop() - APP/Plugin/Thumbnail/View/Helper/ThumbnailHelper.php, line 240 ThumbnailHelper::get() - APP/Plugin/Thumbnail/View/Helper/ThumbnailHelper.php, line 151 include - APP/Plugin/Castings/View/Castings/view.ctp, line 32 View::_evaluate() - CORE/Cake/View/View.php, line 971 View::_render() - CORE/Cake/View/View.php, line 933 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 200 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 111
Warning (2): imagesx() expects parameter 1 to be resource, null given [APP/Plugin/Thumbnail/View/Helper/ThumbnailHelper.php, line 240]Code Context}
$width = imagesx($img_src);
$img = 'img/casting/63c0772424a39.jpg' $ext = false $new_size = array( 'width' => '600', 'height' => '400' )imagesx - [internal], line ?? ThumbnailHelper::_crop() - APP/Plugin/Thumbnail/View/Helper/ThumbnailHelper.php, line 240 ThumbnailHelper::get() - APP/Plugin/Thumbnail/View/Helper/ThumbnailHelper.php, line 151 include - APP/Plugin/Castings/View/Castings/view.ctp, line 32 View::_evaluate() - CORE/Cake/View/View.php, line 971 View::_render() - CORE/Cake/View/View.php, line 933 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 200 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 111
Notice (8): Undefined variable: img_src [APP/Plugin/Thumbnail/View/Helper/ThumbnailHelper.php, line 241]Code Context
$width = imagesx($img_src);
$height = imagesy($img_src);
$img = 'img/casting/63c0772424a39.jpg' $ext = false $new_size = array( 'width' => '600', 'height' => '400' ) $width = nullThumbnailHelper::_crop() - APP/Plugin/Thumbnail/View/Helper/ThumbnailHelper.php, line 241 ThumbnailHelper::get() - APP/Plugin/Thumbnail/View/Helper/ThumbnailHelper.php, line 151 include - APP/Plugin/Castings/View/Castings/view.ctp, line 32 View::_evaluate() - CORE/Cake/View/View.php, line 971 View::_render() - CORE/Cake/View/View.php, line 933 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 200 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 111
Warning (2): imagesy() expects parameter 1 to be resource, null given [APP/Plugin/Thumbnail/View/Helper/ThumbnailHelper.php, line 241]Code Context
$width = imagesx($img_src);
$height = imagesy($img_src);
$img = 'img/casting/63c0772424a39.jpg' $ext = false $new_size = array( 'width' => '600', 'height' => '400' ) $width = nullimagesy - [internal], line ?? ThumbnailHelper::_crop() - APP/Plugin/Thumbnail/View/Helper/ThumbnailHelper.php, line 241 ThumbnailHelper::get() - APP/Plugin/Thumbnail/View/Helper/ThumbnailHelper.php, line 151 include - APP/Plugin/Castings/View/Castings/view.ctp, line 32 View::_evaluate() - CORE/Cake/View/View.php, line 971 View::_render() - CORE/Cake/View/View.php, line 933 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 200 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 111
Warning (2): Division by zero [APP/Plugin/Thumbnail/View/Helper/ThumbnailHelper.php, line 260]Code Context}
else {
$ratio = $new_height/$height;
$img = 'img/casting/63c0772424a39.jpg' $ext = false $new_size = array( 'width' => '600', 'height' => '400' ) $width = null $height = null $new_width = '600' $new_height = '400'ThumbnailHelper::_crop() - APP/Plugin/Thumbnail/View/Helper/ThumbnailHelper.php, line 260 ThumbnailHelper::get() - APP/Plugin/Thumbnail/View/Helper/ThumbnailHelper.php, line 151 include - APP/Plugin/Castings/View/Castings/view.ctp, line 32 View::_evaluate() - CORE/Cake/View/View.php, line 971 View::_render() - CORE/Cake/View/View.php, line 933 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 200 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 111
Warning (2): Division by zero [APP/Plugin/Thumbnail/View/Helper/ThumbnailHelper.php, line 264]Code Context$height_ratio = $height*$ratio;
if($witdh_ratio < $new_width) {
$height_ratio = $height_ratio*($new_width/$witdh_ratio);
$img = 'img/casting/63c0772424a39.jpg' $ext = false $new_size = array( 'width' => '600', 'height' => '400' ) $width = null $height = null $new_width = '600' $new_height = '400' $ratio = false $witdh_ratio = (int) 0 $height_ratio = (int) 0ThumbnailHelper::_crop() - APP/Plugin/Thumbnail/View/Helper/ThumbnailHelper.php, line 264 ThumbnailHelper::get() - APP/Plugin/Thumbnail/View/Helper/ThumbnailHelper.php, line 151 include - APP/Plugin/Castings/View/Castings/view.ctp, line 32 View::_evaluate() - CORE/Cake/View/View.php, line 971 View::_render() - CORE/Cake/View/View.php, line 933 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 200 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 111
Warning (2): Division by zero [APP/Plugin/Thumbnail/View/Helper/ThumbnailHelper.php, line 265]Code Contextif($witdh_ratio < $new_width) {
$height_ratio = $height_ratio*($new_width/$witdh_ratio);
$witdh_ratio = $witdh_ratio*($new_width/$witdh_ratio);
$img = 'img/casting/63c0772424a39.jpg' $ext = false $new_size = array( 'width' => '600', 'height' => '400' ) $width = null $height = null $new_width = '600' $new_height = '400' $ratio = false $witdh_ratio = (int) 0 $height_ratio = (int) 0ThumbnailHelper::_crop() - APP/Plugin/Thumbnail/View/Helper/ThumbnailHelper.php, line 265 ThumbnailHelper::get() - APP/Plugin/Thumbnail/View/Helper/ThumbnailHelper.php, line 151 include - APP/Plugin/Castings/View/Castings/view.ctp, line 32 View::_evaluate() - CORE/Cake/View/View.php, line 971 View::_render() - CORE/Cake/View/View.php, line 933 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 200 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 111
Warning (2): imagecreatetruecolor() [function.imagecreatetruecolor]: Invalid image dimensions [APP/Plugin/Thumbnail/View/Helper/ThumbnailHelper.php, line 273]Code Context
$resampled = imagecreatetruecolor(round($witdh_ratio), round($height_ratio));
$img = 'img/casting/63c0772424a39.jpg' $ext = false $new_size = array( 'width' => '600', 'height' => '400' ) $width = null $height = null $new_width = '600' $new_height = '400' $ratio = false $witdh_ratio = (int) 0 $height_ratio = (int) 0 $crop_y = (int) -200 $crop_x = (int) -300imagecreatetruecolor - [internal], line ?? ThumbnailHelper::_crop() - APP/Plugin/Thumbnail/View/Helper/ThumbnailHelper.php, line 273 ThumbnailHelper::get() - APP/Plugin/Thumbnail/View/Helper/ThumbnailHelper.php, line 151 include - APP/Plugin/Castings/View/Castings/view.ctp, line 32 View::_evaluate() - CORE/Cake/View/View.php, line 971 View::_render() - CORE/Cake/View/View.php, line 933 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 200 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 111
Notice (8): Undefined variable: img_src [APP/Plugin/Thumbnail/View/Helper/ThumbnailHelper.php, line 288]Code Context
//– Resample
imagecopyresampled($resampled, $img_src, 0, 0, 0, 0, $witdh_ratio, $height_ratio, $width, $height);
$img = 'img/casting/63c0772424a39.jpg' $ext = false $new_size = array( 'width' => '600', 'height' => '400' ) $width = null $height = null $new_width = '600' $new_height = '400' $ratio = false $witdh_ratio = (float) 0 $height_ratio = (float) 0 $crop_y = (float) -200 $crop_x = (float) -300 $resampled = false $cropped = resourceThumbnailHelper::_crop() - APP/Plugin/Thumbnail/View/Helper/ThumbnailHelper.php, line 288 ThumbnailHelper::get() - APP/Plugin/Thumbnail/View/Helper/ThumbnailHelper.php, line 151 include - APP/Plugin/Castings/View/Castings/view.ctp, line 32 View::_evaluate() - CORE/Cake/View/View.php, line 971 View::_render() - CORE/Cake/View/View.php, line 933 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 200 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 111
Warning (2): imagecopyresampled() expects parameter 1 to be resource, boolean given [APP/Plugin/Thumbnail/View/Helper/ThumbnailHelper.php, line 288]Code Context
//– Resample
imagecopyresampled($resampled, $img_src, 0, 0, 0, 0, $witdh_ratio, $height_ratio, $width, $height);
$img = 'img/casting/63c0772424a39.jpg' $ext = false $new_size = array( 'width' => '600', 'height' => '400' ) $width = null $height = null $new_width = '600' $new_height = '400' $ratio = false $witdh_ratio = (float) 0 $height_ratio = (float) 0 $crop_y = (float) -200 $crop_x = (float) -300 $resampled = false $cropped = resourceimagecopyresampled - [internal], line ?? ThumbnailHelper::_crop() - APP/Plugin/Thumbnail/View/Helper/ThumbnailHelper.php, line 288 ThumbnailHelper::get() - APP/Plugin/Thumbnail/View/Helper/ThumbnailHelper.php, line 151 include - APP/Plugin/Castings/View/Castings/view.ctp, line 32 View::_evaluate() - CORE/Cake/View/View.php, line 971 View::_render() - CORE/Cake/View/View.php, line 933 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 200 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 111
Warning (2): imagecopy() expects parameter 2 to be resource, boolean given [APP/Plugin/Thumbnail/View/Helper/ThumbnailHelper.php, line 290]Code Contextimagecopyresampled($resampled, $img_src, 0, 0, 0, 0, $witdh_ratio, $height_ratio, $width, $height);
//– Crop
imagecopy($cropped, $resampled, 0, 0, $crop_x, $crop_y, $new_width, $new_height);
$img = 'img/casting/63c0772424a39.jpg' $ext = false $new_size = array( 'width' => '600', 'height' => '400' ) $width = null $height = null $new_width = '600' $new_height = '400' $ratio = false $witdh_ratio = (float) 0 $height_ratio = (float) 0 $crop_y = (float) -200 $crop_x = (float) -300 $resampled = false $cropped = resourceimagecopy - [internal], line ?? ThumbnailHelper::_crop() - APP/Plugin/Thumbnail/View/Helper/ThumbnailHelper.php, line 290 ThumbnailHelper::get() - APP/Plugin/Thumbnail/View/Helper/ThumbnailHelper.php, line 151 include - APP/Plugin/Castings/View/Castings/view.ctp, line 32 View::_evaluate() - CORE/Cake/View/View.php, line 971 View::_render() - CORE/Cake/View/View.php, line 933 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 200 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 111
Notice (8): Undefined variable: img_src [APP/Plugin/Thumbnail/View/Helper/ThumbnailHelper.php, line 292]Code Contextimagecopy($cropped, $resampled, 0, 0, $crop_x, $crop_y, $new_width, $new_height);
return array('new'=>$cropped, 'old1'=>$resampled, 'old2'=>$img_src);
$img = 'img/casting/63c0772424a39.jpg' $ext = false $new_size = array( 'width' => '600', 'height' => '400' ) $width = null $height = null $new_width = '600' $new_height = '400' $ratio = false $witdh_ratio = (float) 0 $height_ratio = (float) 0 $crop_y = (float) -200 $crop_x = (float) -300 $resampled = false $cropped = resourceThumbnailHelper::_crop() - APP/Plugin/Thumbnail/View/Helper/ThumbnailHelper.php, line 292 ThumbnailHelper::get() - APP/Plugin/Thumbnail/View/Helper/ThumbnailHelper.php, line 151 include - APP/Plugin/Castings/View/Castings/view.ctp, line 32 View::_evaluate() - CORE/Cake/View/View.php, line 971 View::_render() - CORE/Cake/View/View.php, line 933 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 200 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 111


Notice (8): Undefined variable: img_src [APP/Plugin/Thumbnail/View/Helper/ThumbnailHelper.php, line 240]Code Context}
$width = imagesx($img_src);
$img = 'img/casting/63c0772424a39.jpg' $ext = false $new_size = array( 'width' => '300', 'height' => '220' )ThumbnailHelper::_crop() - APP/Plugin/Thumbnail/View/Helper/ThumbnailHelper.php, line 240 ThumbnailHelper::get() - APP/Plugin/Thumbnail/View/Helper/ThumbnailHelper.php, line 151 include - APP/Plugin/Castings/View/Castings/view.ctp, line 69 View::_evaluate() - CORE/Cake/View/View.php, line 971 View::_render() - CORE/Cake/View/View.php, line 933 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 200 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 111
Warning (2): imagesx() expects parameter 1 to be resource, null given [APP/Plugin/Thumbnail/View/Helper/ThumbnailHelper.php, line 240]Code Context}
$width = imagesx($img_src);
$img = 'img/casting/63c0772424a39.jpg' $ext = false $new_size = array( 'width' => '300', 'height' => '220' )imagesx - [internal], line ?? ThumbnailHelper::_crop() - APP/Plugin/Thumbnail/View/Helper/ThumbnailHelper.php, line 240 ThumbnailHelper::get() - APP/Plugin/Thumbnail/View/Helper/ThumbnailHelper.php, line 151 include - APP/Plugin/Castings/View/Castings/view.ctp, line 69 View::_evaluate() - CORE/Cake/View/View.php, line 971 View::_render() - CORE/Cake/View/View.php, line 933 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 200 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 111
Notice (8): Undefined variable: img_src [APP/Plugin/Thumbnail/View/Helper/ThumbnailHelper.php, line 241]Code Context
$width = imagesx($img_src);
$height = imagesy($img_src);
$img = 'img/casting/63c0772424a39.jpg' $ext = false $new_size = array( 'width' => '300', 'height' => '220' ) $width = nullThumbnailHelper::_crop() - APP/Plugin/Thumbnail/View/Helper/ThumbnailHelper.php, line 241 ThumbnailHelper::get() - APP/Plugin/Thumbnail/View/Helper/ThumbnailHelper.php, line 151 include - APP/Plugin/Castings/View/Castings/view.ctp, line 69 View::_evaluate() - CORE/Cake/View/View.php, line 971 View::_render() - CORE/Cake/View/View.php, line 933 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 200 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 111
Warning (2): imagesy() expects parameter 1 to be resource, null given [APP/Plugin/Thumbnail/View/Helper/ThumbnailHelper.php, line 241]Code Context
$width = imagesx($img_src);
$height = imagesy($img_src);
$img = 'img/casting/63c0772424a39.jpg' $ext = false $new_size = array( 'width' => '300', 'height' => '220' ) $width = nullimagesy - [internal], line ?? ThumbnailHelper::_crop() - APP/Plugin/Thumbnail/View/Helper/ThumbnailHelper.php, line 241 ThumbnailHelper::get() - APP/Plugin/Thumbnail/View/Helper/ThumbnailHelper.php, line 151 include - APP/Plugin/Castings/View/Castings/view.ctp, line 69 View::_evaluate() - CORE/Cake/View/View.php, line 971 View::_render() - CORE/Cake/View/View.php, line 933 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 200 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 111
Warning (2): Division by zero [APP/Plugin/Thumbnail/View/Helper/ThumbnailHelper.php, line 260]Code Context}
else {
$ratio = $new_height/$height;
$img = 'img/casting/63c0772424a39.jpg' $ext = false $new_size = array( 'width' => '300', 'height' => '220' ) $width = null $height = null $new_width = '300' $new_height = '220'ThumbnailHelper::_crop() - APP/Plugin/Thumbnail/View/Helper/ThumbnailHelper.php, line 260 ThumbnailHelper::get() - APP/Plugin/Thumbnail/View/Helper/ThumbnailHelper.php, line 151 include - APP/Plugin/Castings/View/Castings/view.ctp, line 69 View::_evaluate() - CORE/Cake/View/View.php, line 971 View::_render() - CORE/Cake/View/View.php, line 933 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 200 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 111
Warning (2): Division by zero [APP/Plugin/Thumbnail/View/Helper/ThumbnailHelper.php, line 264]Code Context$height_ratio = $height*$ratio;
if($witdh_ratio < $new_width) {
$height_ratio = $height_ratio*($new_width/$witdh_ratio);
$img = 'img/casting/63c0772424a39.jpg' $ext = false $new_size = array( 'width' => '300', 'height' => '220' ) $width = null $height = null $new_width = '300' $new_height = '220' $ratio = false $witdh_ratio = (int) 0 $height_ratio = (int) 0ThumbnailHelper::_crop() - APP/Plugin/Thumbnail/View/Helper/ThumbnailHelper.php, line 264 ThumbnailHelper::get() - APP/Plugin/Thumbnail/View/Helper/ThumbnailHelper.php, line 151 include - APP/Plugin/Castings/View/Castings/view.ctp, line 69 View::_evaluate() - CORE/Cake/View/View.php, line 971 View::_render() - CORE/Cake/View/View.php, line 933 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 200 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 111
Warning (2): Division by zero [APP/Plugin/Thumbnail/View/Helper/ThumbnailHelper.php, line 265]Code Contextif($witdh_ratio < $new_width) {
$height_ratio = $height_ratio*($new_width/$witdh_ratio);
$witdh_ratio = $witdh_ratio*($new_width/$witdh_ratio);
$img = 'img/casting/63c0772424a39.jpg' $ext = false $new_size = array( 'width' => '300', 'height' => '220' ) $width = null $height = null $new_width = '300' $new_height = '220' $ratio = false $witdh_ratio = (int) 0 $height_ratio = (int) 0ThumbnailHelper::_crop() - APP/Plugin/Thumbnail/View/Helper/ThumbnailHelper.php, line 265 ThumbnailHelper::get() - APP/Plugin/Thumbnail/View/Helper/ThumbnailHelper.php, line 151 include - APP/Plugin/Castings/View/Castings/view.ctp, line 69 View::_evaluate() - CORE/Cake/View/View.php, line 971 View::_render() - CORE/Cake/View/View.php, line 933 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 200 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 111
Warning (2): imagecreatetruecolor() [function.imagecreatetruecolor]: Invalid image dimensions [APP/Plugin/Thumbnail/View/Helper/ThumbnailHelper.php, line 273]Code Context
$resampled = imagecreatetruecolor(round($witdh_ratio), round($height_ratio));
$img = 'img/casting/63c0772424a39.jpg' $ext = false $new_size = array( 'width' => '300', 'height' => '220' ) $width = null $height = null $new_width = '300' $new_height = '220' $ratio = false $witdh_ratio = (int) 0 $height_ratio = (int) 0 $crop_y = (int) -110 $crop_x = (int) -150imagecreatetruecolor - [internal], line ?? ThumbnailHelper::_crop() - APP/Plugin/Thumbnail/View/Helper/ThumbnailHelper.php, line 273 ThumbnailHelper::get() - APP/Plugin/Thumbnail/View/Helper/ThumbnailHelper.php, line 151 include - APP/Plugin/Castings/View/Castings/view.ctp, line 69 View::_evaluate() - CORE/Cake/View/View.php, line 971 View::_render() - CORE/Cake/View/View.php, line 933 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 200 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 111
Notice (8): Undefined variable: img_src [APP/Plugin/Thumbnail/View/Helper/ThumbnailHelper.php, line 288]Code Context
//– Resample
imagecopyresampled($resampled, $img_src, 0, 0, 0, 0, $witdh_ratio, $height_ratio, $width, $height);
$img = 'img/casting/63c0772424a39.jpg' $ext = false $new_size = array( 'width' => '300', 'height' => '220' ) $width = null $height = null $new_width = '300' $new_height = '220' $ratio = false $witdh_ratio = (float) 0 $height_ratio = (float) 0 $crop_y = (float) -110 $crop_x = (float) -150 $resampled = false $cropped = resourceThumbnailHelper::_crop() - APP/Plugin/Thumbnail/View/Helper/ThumbnailHelper.php, line 288 ThumbnailHelper::get() - APP/Plugin/Thumbnail/View/Helper/ThumbnailHelper.php, line 151 include - APP/Plugin/Castings/View/Castings/view.ctp, line 69 View::_evaluate() - CORE/Cake/View/View.php, line 971 View::_render() - CORE/Cake/View/View.php, line 933 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 200 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 111
Warning (2): imagecopyresampled() expects parameter 1 to be resource, boolean given [APP/Plugin/Thumbnail/View/Helper/ThumbnailHelper.php, line 288]Code Context
//– Resample
imagecopyresampled($resampled, $img_src, 0, 0, 0, 0, $witdh_ratio, $height_ratio, $width, $height);
$img = 'img/casting/63c0772424a39.jpg' $ext = false $new_size = array( 'width' => '300', 'height' => '220' ) $width = null $height = null $new_width = '300' $new_height = '220' $ratio = false $witdh_ratio = (float) 0 $height_ratio = (float) 0 $crop_y = (float) -110 $crop_x = (float) -150 $resampled = false $cropped = resourceimagecopyresampled - [internal], line ?? ThumbnailHelper::_crop() - APP/Plugin/Thumbnail/View/Helper/ThumbnailHelper.php, line 288 ThumbnailHelper::get() - APP/Plugin/Thumbnail/View/Helper/ThumbnailHelper.php, line 151 include - APP/Plugin/Castings/View/Castings/view.ctp, line 69 View::_evaluate() - CORE/Cake/View/View.php, line 971 View::_render() - CORE/Cake/View/View.php, line 933 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 200 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 111
Warning (2): imagecopy() expects parameter 2 to be resource, boolean given [APP/Plugin/Thumbnail/View/Helper/ThumbnailHelper.php, line 290]Code Contextimagecopyresampled($resampled, $img_src, 0, 0, 0, 0, $witdh_ratio, $height_ratio, $width, $height);
//– Crop
imagecopy($cropped, $resampled, 0, 0, $crop_x, $crop_y, $new_width, $new_height);
$img = 'img/casting/63c0772424a39.jpg' $ext = false $new_size = array( 'width' => '300', 'height' => '220' ) $width = null $height = null $new_width = '300' $new_height = '220' $ratio = false $witdh_ratio = (float) 0 $height_ratio = (float) 0 $crop_y = (float) -110 $crop_x = (float) -150 $resampled = false $cropped = resourceimagecopy - [internal], line ?? ThumbnailHelper::_crop() - APP/Plugin/Thumbnail/View/Helper/ThumbnailHelper.php, line 290 ThumbnailHelper::get() - APP/Plugin/Thumbnail/View/Helper/ThumbnailHelper.php, line 151 include - APP/Plugin/Castings/View/Castings/view.ctp, line 69 View::_evaluate() - CORE/Cake/View/View.php, line 971 View::_render() - CORE/Cake/View/View.php, line 933 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 200 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 111
Notice (8): Undefined variable: img_src [APP/Plugin/Thumbnail/View/Helper/ThumbnailHelper.php, line 292]Code Contextimagecopy($cropped, $resampled, 0, 0, $crop_x, $crop_y, $new_width, $new_height);
return array('new'=>$cropped, 'old1'=>$resampled, 'old2'=>$img_src);
$img = 'img/casting/63c0772424a39.jpg' $ext = false $new_size = array( 'width' => '300', 'height' => '220' ) $width = null $height = null $new_width = '300' $new_height = '220' $ratio = false $witdh_ratio = (float) 0 $height_ratio = (float) 0 $crop_y = (float) -110 $crop_x = (float) -150 $resampled = false $cropped = resourceThumbnailHelper::_crop() - APP/Plugin/Thumbnail/View/Helper/ThumbnailHelper.php, line 292 ThumbnailHelper::get() - APP/Plugin/Thumbnail/View/Helper/ThumbnailHelper.php, line 151 include - APP/Plugin/Castings/View/Castings/view.ctp, line 69 View::_evaluate() - CORE/Cake/View/View.php, line 971 View::_render() - CORE/Cake/View/View.php, line 933 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 200 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 111

