Exemplo n.º 1
0
 function imageSetHeight($url, $size)
 {
     //$url = urldecode($url);
     $myimage = new \model\simple\MyImage($url);
     $this->set(array("url" => $url, "size" => $size, "image" => $myimage->getImageHeightFixed($size)));
     $this->render("index");
 }
Exemplo n.º 2
0
 static function getPosterSetHeight($id, $height)
 {
     $myimage = new \model\simple\MyImage(Serie::getPoster($id));
     return $myimage->getImageHeightFixed($height);
 }