class mw_data_images extends mw_data{
- function img_size($file, $max_width, $max_height){
- $img_infos = getimagesize($file);
+ public function img_size($file, $max_width, $max_height){
+ $img_infos = @getimagesize($file);
$img_size = array();
if($img_infos){
if($img_infos[0] > $max_width || $img_infos[1] > $max_height){
}
}
-
-?>
\ No newline at end of file