Not every ride is a training ride. And even if I'm doing intervals I still need to stop and rest a few minutes after about half an hour. Plenty of time to stop and snap pix.
Occasionally I'll tote a compact Olympus shockproof/weatherproof camera in a jersey pocket for snaps while riding. I don't like phone cam ergonomics and won't use one while riding. Too dangerous to myself and others. Compact cameras have better ergonomics and wrist or neck strap in case I drop the camera.
My local group rides don't have many stops. I usually mount a video camera on the handlebar or helmet and snag screencaps later if I want stills.