Hi, you forgot to implement this code
[code:1] // resize to thumbnail...
// resize thumb fix - check if the image file is bigger than allowed thumbnail
if($imginfo[0] > $this->_thumbwidth || $imginfo[1] > $this->_maxheight){
if(!$this->resizeImage($file, $thumbfile, $this->_thumbwidth, $this->_thumbheight, $filename)){
$this->raiseError("Error: resizing thumbnail image failed."«»);
return false;
}
// resize thumb fix - else, just copy the file to the thumbnail file
} else {
if (!@copy($file, $thumbfile)){
// some error occured while copying the file to the thumbnail file
$this->raiseError("Error occurred copying the uploaded file to the thumbnail."«»);
return false;
}
}
[/code:1]
which allows to have animated avatars, if they are not bigger as the defined size.
This code is not from me, its from the user wingflap.
Thread here:
www.joomlapolis.com/component/option,com_joomlaboard/Itemid,/func,view/catid,29/id,38222/#38222