我使用的上传库笨上传的图片的最低高度.....笨上传库,以验证最小宽度和图像
$config[‘allowed_types’] = ‘gif|png|jpg’;
$config[‘max_size’] = ‘1000’;
$config[‘max_width’] = ‘200’;
$config[‘max_heigth’] = ‘200’;
$config[‘upload_path’] = ‘./uploads/’
$this->load->library(‘upload’, $config);
,而用户上传的图片.....用户应上传最低widht和最小高度
该怎么办... ......
CI只有MAX_WIDTH和max_heigth ... ......我知道这个功能以及
getimagesize();
,但使用这个功能,我们需要源图像网址...这我没有访问...
上传之前还是之后? – Red 2011-12-26 04:29:37
上传之前... – 2011-12-29 23:44:18