buiten4-7.jpg - Hotel de Heeren
gang2-4.jpg - Hotel de Heeren
kamer_4_v3-23.jpg - Hotel de Heeren
kamer_3_v2-20.jpg - Hotel de Heeren
kamer_5_v3-26.jpg - Hotel de Heeren
vTv-kamer_6_v3-29.jpg - Hotel de Heeren
licht1-31.jpg - Hotel de Heeren
licht2-32.jpg - Hotel de Heeren
jj7-algemeen_2-2.jpg - Hotel de Heeren
uitzicht-33.jpg - Hotel de Heeren

ErrorException [ Warning ]: imagesx() expects parameter 1 to be resource, boolean given

APPPATH/libraries/images/image_resize.php [ 23 ]

18 		$this->file = $fileName;
19 		// *** Open up the file
20 		$this->image = $this->openImage();
21 
22 	    // *** Get width and height
23 	    $this->width  = imagesx($this->image);
24 	    $this->height = imagesy($this->image);
25 	}
26 
27 	## --------------------------------------------------------
28 
  1. {PHP internal call} » MY_Exceptions::error_handler(arguments)

  2. APPPATH/libraries/images/image_resize.php [ 23 ] » imagesx(arguments)

  3. APPPATH/helpers/MY_file_helper.php [ 36 ] » Image_Resize->set_image(arguments)

  4. APPPATH/views/frontend/slideshow.php [ 5 ] » image(arguments)

  5. SYSDIR/core/Loader.php [ 833 ] » include(arguments)

  6. SYSDIR/core/Loader.php [ 419 ] » CI_Loader->_ci_load(arguments)

  7. APPPATH/controllers/frontend.php [ 74 ] » CI_Loader->view(arguments)

  8. {PHP internal call} » Frontend->index(arguments)

  9. SYSDIR/core/CodeIgniter.php [ 359 ] » call_user_func_array(arguments)

  10. FCPATH/index.php [ 216 ] » require_once(arguments)

Environment

ErrorException [ Warning ]: imagesy() expects parameter 1 to be resource, boolean given

APPPATH/libraries/images/image_resize.php [ 24 ]

19 		// *** Open up the file
20 		$this->image = $this->openImage();
21 
22 	    // *** Get width and height
23 	    $this->width  = imagesx($this->image);
24 	    $this->height = imagesy($this->image);
25 	}
26 
27 	## --------------------------------------------------------
28 
29 	private function openImage() {
  1. {PHP internal call} » MY_Exceptions::error_handler(arguments)

  2. APPPATH/libraries/images/image_resize.php [ 24 ] » imagesy(arguments)

  3. APPPATH/helpers/MY_file_helper.php [ 36 ] » Image_Resize->set_image(arguments)

  4. APPPATH/views/frontend/slideshow.php [ 5 ] » image(arguments)

  5. SYSDIR/core/Loader.php [ 833 ] » include(arguments)

  6. SYSDIR/core/Loader.php [ 419 ] » CI_Loader->_ci_load(arguments)

  7. APPPATH/controllers/frontend.php [ 74 ] » CI_Loader->view(arguments)

  8. {PHP internal call} » Frontend->index(arguments)

  9. SYSDIR/core/CodeIgniter.php [ 359 ] » call_user_func_array(arguments)

  10. FCPATH/index.php [ 216 ] » require_once(arguments)

Environment

ErrorException [ Warning ]: Division by zero

APPPATH/libraries/images/image_resize.php [ 203 ]

198 	}
199 
200 	## --------------------------------------------------------
201 
202 	private function getOptimalCrop($newWidth, $newHeight) {
203 		$heightRatio = $this->height / $newHeight;
204 		$widthRatio  = $this->width /  $newWidth;
205 
206 		if ($heightRatio < $widthRatio) {
207 			$optimalRatio = $heightRatio;
208 		} else {
  1. APPPATH/libraries/images/image_resize.php [ 203 ] » MY_Exceptions::error_handler(arguments)

  2. APPPATH/libraries/images/image_resize.php [ 150 ] » Image_Resize->getOptimalCrop(arguments)

  3. APPPATH/libraries/images/image_resize.php [ 62 ] » Image_Resize->getDimensions(arguments)

  4. APPPATH/helpers/MY_file_helper.php [ 37 ] » Image_Resize->resizeImage(arguments)

  5. APPPATH/views/frontend/slideshow.php [ 5 ] » image(arguments)

  6. SYSDIR/core/Loader.php [ 833 ] » include(arguments)

  7. SYSDIR/core/Loader.php [ 419 ] » CI_Loader->_ci_load(arguments)

  8. APPPATH/controllers/frontend.php [ 74 ] » CI_Loader->view(arguments)

  9. {PHP internal call} » Frontend->index(arguments)

  10. SYSDIR/core/CodeIgniter.php [ 359 ] » call_user_func_array(arguments)

  11. FCPATH/index.php [ 216 ] » require_once(arguments)

Environment

ErrorException [ Warning ]: Division by zero

APPPATH/libraries/images/image_resize.php [ 204 ]

199 
200 	## --------------------------------------------------------
201 
202 	private function getOptimalCrop($newWidth, $newHeight) {
203 		$heightRatio = $this->height / $newHeight;
204 		$widthRatio  = $this->width /  $newWidth;
205 
206 		if ($heightRatio < $widthRatio) {
207 			$optimalRatio = $heightRatio;
208 		} else {
209 			$optimalRatio = $widthRatio;
  1. APPPATH/libraries/images/image_resize.php [ 204 ] » MY_Exceptions::error_handler(arguments)

  2. APPPATH/libraries/images/image_resize.php [ 150 ] » Image_Resize->getOptimalCrop(arguments)

  3. APPPATH/libraries/images/image_resize.php [ 62 ] » Image_Resize->getDimensions(arguments)

  4. APPPATH/helpers/MY_file_helper.php [ 37 ] » Image_Resize->resizeImage(arguments)

  5. APPPATH/views/frontend/slideshow.php [ 5 ] » image(arguments)

  6. SYSDIR/core/Loader.php [ 833 ] » include(arguments)

  7. SYSDIR/core/Loader.php [ 419 ] » CI_Loader->_ci_load(arguments)

  8. APPPATH/controllers/frontend.php [ 74 ] » CI_Loader->view(arguments)

  9. {PHP internal call} » Frontend->index(arguments)

  10. SYSDIR/core/CodeIgniter.php [ 359 ] » call_user_func_array(arguments)