This plugin fit a need for us. It's simple and gives a quick frontend option to change subscriber avatars on Wordpress. During some testing, we noticed 404's for some of the files the plugin was generating. Using Chrome Dev Tools we noticed the filenames were camel cased; and sometimes in Linux that causes issues depending on how the filesystem is configured. Thus, we tried out wrapping the $user->display_name within sanitize_file_name in a PHP strtolower function and our 404 file issues went away.
This plugin fit a need for us. It's simple and gives a quick frontend option to change subscriber avatars on Wordpress. During some testing, we noticed 404's for some of the files the plugin was generating. Using Chrome Dev Tools we noticed the filenames were camel cased; and sometimes in Linux that causes issues depending on how the filesystem is configured. Thus, we tried out wrapping the
$user->display_name
withinsanitize_file_name
in a PHPstrtolower
function and our 404 file issues went away.