I followed your steps and entered your code in my view.php file. i got an error on line 122 and i decided to remove your code. it went back to normal with one hitch. When i view and profile the picture is blank. it reappears in edit and any other mode just not view.
Any help on how i fix this will be greatly appreciated.
Thanks in advance for any assistance.