if( is_readable( $file_path ) && in_array( strtolower( $ext ) , $array_allowed_exts ) ) {
$lid = $xoopsDB->genId( $table_photos."_lid_seq" ) ;
if( ! in_array( strtolower( $ext ) , $myalbum_normal_exts ) ) {
list( $w , $h ) = getimagesize( $file_path ) ;
} else {
list( $w , $h ) = array( 0 , 0 ) ;
}