The floggings will continue until morale improves
Many feel that if one is doing underwater photography, than one is diving solo. I would agree that when one is consentrating on photography one is NOT paying as much attention to a buddy. However my Cuz and I both enjoy UW photography, and we managed to stick together very well.
The way we did this was to just stay close. When she stopped to take an image, I'd find something nearby to shoot, or would just hang out next to her, and wait until she was ready to move on.
If you are within touching distance, than you maintain a good buddy relationship as if something does go wrong, you can get one anothers attention with a grab of the arm or fin.
As for putting Jim on your air supply, that's a bit of a scary way to dive. When he is low on air, you should be using your octo only to get you both safely to the surface, not to extend the dive. What happens if something goes wrong with your air? Now you have two divers at depth, with basically little air, and little room for anything to go wrong. There are many solutions to extending his air supply, the simple solution is to get ahold of some larger tanks.
As for the desire to push limits to get a photo, why? I can certainly understand the urge to capture great images. However you need to remind yourself that putting an image over your safety, or that of your buddies, is foolish. If you were on an assignment, and shooting for a living, or a dive magazine, or documenting marine life as a biologist, then there is more of a reason for taking risks. However it's still foolish, and most professional photographers do not put their life on the line, even if some photojournalists do when say covering a war.
I'd also remind you that if you are in fact touching live coral, you are potentially destroying an environment that you are there to enjoy. If every diver went about grabbing live coral, then there would be less beauty in the world, and for what reason? I apologize if the coral was dead, so just a reminder.
Enjoy the photography, but take care of your buddy!