Have you trained your dog???
First thing to make pics (and anything else) easier is to have your dog trained to sit and stay! You'll always have control and they are effectively nailed to the ground until you tell them they can move! Easy isn't it!

No way Jose!!
While we would all like to think that
our dog is well behaved they never are when it counts (doggone!!)
Get a clicker (you know, one of those metal kids toys) they are a great attention getter for dogs - and the best thing is that you can click them in one hand while you click the camera with the other.
Treats don't often work - but anything at all edible works with mine! They'll get so overexcited over food that they will try and trample me (or stand
under the camera) just to get near it

. But there are many that couldn't give a fig if you held the last frankfurt in the entire world in front of them, they just won't look.
Go for the noise - there is not a dog that can hear that won't respond in some way.
Hope that with all the rest of the good tips help.