The photographer’s shots of Obama prompted a decidedly un-presidential reaction on the Web.