implementation of thumbnail picture conversion in users.php