I will take pictures, but never if it puts a fish at risk for a lower chance of survival. I'd rather just release it safely than anything else. I rarely post any of the fish I catch, but keep the pictures as part of a journal, for memories and reference sake.
The only time I will take pics of a fish that is to be released is while it is being revived, a quick 1-2 inch lift out of the water for a second and a pic can be taken in the few short moments it takes for the fish to revive. If it revives before a pic can be taken, no skin off my back.
Otherwise any other pictures I take are of hatchery fish that have been killed, then some more creative pictures can be taken. Having said that though, I rarely keep a hatchery, I release them. Some anglers can't understand why I don't kill my hatchery fish...While in turn, I can't understand the need to kill every hatchery fish you catch. I have kept two hatchery fish over the years, that's it.
If an angler has a fish on and he is on his own, I will usually walk over and offer to help tail it, I find this often contributes to better fish handling and avoids those embarrasing instances when someone struggles endlessly with a fish just to get a picture of it...usually the angler is quite glad for the help, and I'm sure the fish is too...
rib