Photography starts to become common in the mid to late 19th century, and that is when you find a radical change in painting. Previous to that time artists prided themselves on realism and their ability to understand the mathematics and geometry of perspective, but the new technology of photography meant that any schmoe could capture than perfectly with a simple camera.
So then impressionism and abstract painting become an outlet for these artists. What can't a camera do? For one thing, it wasn't a color reproduction, so the artists started to experiment with new color schemes that captured the feeling and mood (although this wasn't terribly new, it was being done in realism also). They also used distorted geometry and perspective to capture mood.
Let's see the photographer do that! Artists started to find things the camera could not do.
The other thing that was happening was that previously artists made a bread and butter income by painting portraits, but now the camera made that cheaper, faster, and very real. There is a sudden and sharp decline of income for the work-a-day artist.
Photography had an enormous impact on art style and on the lives of the artists themselves.
judging from their artistic reaction I don't think so because, from what I gather from Deleuze's «Francis Bacon: The logic of sensation», photography relieved artistic painters from their function of representing the world, allowing them to finally free the Figure from the body and abstract their art, something which was previously restricted only to divine/mythological characters and not worldly ones.