PHP 클래스 ImageHelper

To change this template file, choose Tools | Templates and open the template in the editor.
파일 보기 프로젝트 열기: yinhe/yincart 1 사용 예제들

공개 메소드들

메소드 설명
thumb ( integer $width, integer $height, string $img, array $options = null ) : string * Create a thumbnail of an image and returns relative path in webroot * the options array is an associative array which can take the values * quality (jpg quality) and method (the method for resizing) * * @param int $width * @param int $height * @param string $img * @param array $options * @return string $path

메소드 상세

thumb() 공개 정적인 메소드

* Create a thumbnail of an image and returns relative path in webroot * the options array is an associative array which can take the values * quality (jpg quality) and method (the method for resizing) * * @param int $width * @param int $height * @param string $img * @param array $options * @return string $path
public static thumb ( integer $width, integer $height, string $img, array $options = null ) : string
$width integer
$height integer
$img string
$options array
리턴 string