APPPATH/classes/imageproc.php [ 56 ]
51 $name = explode('.', $imgSrc);
52 $ext = trim(strtolower(array_pop($name)));
53 switch($ext) {
54 case 'jpg':
55 case 'jpeg':
56 $myImage = imagecreatefromjpeg($imgSrc);
57 break;
58 case 'gif':
59 $myImage = imagecreatefromgif($imgSrc);
60 break;
61 case 'png':
-
{PHP internal call} » Kohana_Core::error_handler()
-
APPPATH/classes/imageproc.php [ 56 ] » imagecreatefromjpeg(arguments)
filename
string(18) "galleries/1646.jpg"
51 $name = explode('.', $imgSrc); 52 $ext = trim(strtolower(array_pop($name))); 53 switch($ext) { 54 case 'jpg': 55 case 'jpeg': 56 $myImage = imagecreatefromjpeg($imgSrc); 57 break; 58 case 'gif': 59 $myImage = imagecreatefromgif($imgSrc); 60 break; 61 case 'png':
-
APPPATH/classes/model/galleryimage.php [ 52 ] » ImageProc::scale(arguments)
imgSrc
string(18) "galleries/1646.jpg"
dstImg
string(23) "galleries/1646_660x.jpg"
thumbnail_width
string(3) "660"
thumbnail_height
string(0) ""
47 // jest oryginal, sprobujemy dogenerowac 48 list($width, $height) = explode('x', $size); 49 if ($width && $height) { 50 ImageProc::crop($pathFullSize, $filePath, $width, $height); 51 } else { 52 ImageProc::scale($pathFullSize, $filePath, $width, $height); 53 } 54 return URL::base(TRUE) . $filePath; 55 } 56 } 57 }
-
APPPATH/views/gallery/show.php [ 24 ] » Model_Galleryimage->getUrl(arguments)
size
string(4) "660x"
19 <div id="thumbs-container"> 20 <div id="thumb-slider"> 21 <ul> 22 <?php $i = 0; foreach ($gallery->images->find_all() as $image) { ?> 23 <li <?php if ($i == $position) { ?>class="active"<?php } ?>> 24 <a href="<?php echo $image->getUrl('660x'); ?>" rel="images" class="images various"> 25 <img alt="" src="<?php echo $image->getUrl('84x84', true); ?>"> 26 </a> 27 <span></span> 28 </li> 29 <?php $i++; } ?>
-
SYSPATH/classes/kohana/view.php [ 49 ] » include(arguments)
0
string(35) "/application/views/gallery/show.php"
44 ob_start(); 45 46 try 47 { 48 // Load the view within the current scope 49 include $kohana_view_filename; 50 } 51 catch (Exception $e) 52 { 53 // Delete the output buffer 54 ob_end_clean();
-
SYSPATH/classes/kohana/view.php [ 303 ] » Kohana_View::capture(arguments)
kohana_view_filename
string(35) "/application/views/gallery/show.php"
298 { 299 throw new Kohana_View_Exception('You must set the file to use within your view before rendering'); 300 } 301 302 // Combine local and global data and capture the output 303 return View::capture($this->_file, $this->_data + View::$_global_data); 304 } 305 306 } // End View
-
SYSPATH/classes/kohana/view.php [ 193 ] » Kohana_View->render()
188 */ 189 public function __toString() 190 { 191 try 192 { 193 return $this->render(); 194 } 195 catch (Exception $e) 196 { 197 // Display the exception message 198 Kohana::exception_handler($e);
-
APPPATH/views/_layouts/main.php [ 40 ] » Kohana_View->__toString()
35 </head> 36 <body> 37 <?php echo Partials::loginRegisterBox(); ?> 38 <div class="container <?php if ($_SERVER['REQUEST_URI']!='/') { ?>subpage<?php } ?>"> 39 <?php echo Partials::top(); ?> 40 <?php echo $content; ?> 41 </div> 42 <?php echo Partials::footer_menu(); ?> 43 </body> 44 </html> 45
-
APPPATH/views/_layouts/page.php [ 1 ] » include(arguments)
0
string(36) "/application/views/_layouts/page.php"
1 <?php include 'main.php'; ?>
-
SYSPATH/classes/kohana/view.php [ 49 ] » include(arguments)
0
string(36) "/application/views/_layouts/main.php"
44 ob_start(); 45 46 try 47 { 48 // Load the view within the current scope 49 include $kohana_view_filename; 50 } 51 catch (Exception $e) 52 { 53 // Delete the output buffer 54 ob_end_clean();
-
SYSPATH/classes/kohana/view.php [ 303 ] » Kohana_View::capture(arguments)
kohana_view_filename
string(36) "/application/views/_layouts/page.php"
298 { 299 throw new Kohana_View_Exception('You must set the file to use within your view before rendering'); 300 } 301 302 // Combine local and global data and capture the output 303 return View::capture($this->_file, $this->_data + View::$_global_data); 304 } 305 306 } // End View
-
SYSPATH/classes/kohana/view.php [ 193 ] » Kohana_View->render()
188 */ 189 public function __toString() 190 { 191 try 192 { 193 return $this->render(); 194 } 195 catch (Exception $e) 196 { 197 // Display the exception message 198 Kohana::exception_handler($e);
-
APPPATH/bootstrap.php [ 125 ] » Kohana_View->__toString()
120 $request->execute(); 121 // $request->response = View::factory('errors/default'); 122 } 123 } 124 $request->send_headers(); 125 echo $request->response;
-
/index.php [ 134 ] » require(arguments)
0
string(26) "/application/bootstrap.php"
129 // Load empty core extension 130 require SYSPATH.'classes/kohana'.EXT; 131 } 132 133 // Bootstrap the application 134 require APPPATH.'bootstrap'.EXT;