$outpath = Avatar::path($outname);
@copy($this->filepath, $outpath);
return $outname;
$outpath = Avatar::path($outname);
@copy($this->filepath, $outpath);
return $outname;
imagecopyresampled($image_dest, $image_src, 0, 0, $x, $y, $size, $size, $w, $h);
$outname = Avatar::filename($this->id,
imagecopyresampled($image_dest, $image_src, 0, 0, $x, $y, $size, $size, $w, $h);
$outname = Avatar::filename($this->id,
$num = substr($str, 0, -1);
switch(strtoupper($unit)){
$num = substr($str, 0, -1);
switch(strtoupper($unit)){