Trying to make Userpic running in my private WP2.9.2 Blog.
The first thin that does not work is showing the userpic under
/wp-admin/profile.php.
Why are you using $profileuser->userphoto_image_file . "?" . rand()?
do the url of the image looks like:
.../wp-content/uploads/userphoto/ruena.png?1593785281
Thanks in advance