$width = Arr::get($_GET, 'w', FALSE);
$height = Arr::get($_GET, 'h', FALSE);
$type = $this->request->param('type');
$file = $this->request->param('file');
$temp = DOCROOT.'uploads/'.$type .'/' .$file;
if (file_exists($temp))
{
$image = Image::factory($temp);
if ($width && $height)
{
$image->resize($width, $height, Image::NONE);
}
}
else
{
$type = 'item';
$file = '70_20080411121920jzy.jpg';
$url = DOCROOT.'uploads/' . $type .'/' . $file;
$image = Image::factory($url);
}
ErrorException [ 2 ]: htmlspecialchars(): Invalid multibyte sequence in argument ~ SYSPATH/classes/kohana/core.php [ 1123 ] http://df2.com/image/item/Zeb_Andrews7.jpg?h=179&w=134It looks like you're new here. If you want to get involved, click one of these buttons!