I am so glad you took pictures of your fingers and were able to show this to the doctor.
In rare cases that fail one or two injections, a surgical release of the pulley can get rid of the pain for good.
Your surgeon numbs the area by injecting a local anesthetic into your hand.
Please keep us posted on how you are feeling.
Resting your hand and avoiding activities that make it worse may be enough to resolve the problem.
One exercise for trigger finger that can help to strengthen your tendons is to lay the hand palm-down on a flat surface and then to lift each finger one by one focusing on even strength with special emphasis on the injured digit.