I just found a solution to dynamically change a profile image, and thought I'd share it.
Our site policy is to keep profiles up, after someone passses away, as a memoriam page, but change the profile image to Black & White.
I had been changing the photos but realized that CSS could do it.
I added a new field, "cb_imageclass", and then added this to Profile Image "Profile Value Layout":
Code:
<span class="[cb:userdata field="cb_imageclass" /]">[value]</span>
Then I made a class RIP in my template file with "filter: grayscale(100%);". Now when the imageclass field for a member is changed to RIP, their profile image is B&W.