Certain memories/vision's can be really difficult and that's certainly a traumatic experience. Talking may help like Sandra suggests, as well as the suggestion to write/journal about how you're feeling.
I know karena has some lovely tips to help too, where you can imagine these visions/pictures like they are on playing cards, and when you remember a distressing one try and imagine changing it to a more positive vision/memory, like changing the card at the top of the deck. (I think she explains it alot better than me though!) In time the better memories will be more prominent than the bad ones
I imagine that knowing there is a court date coming is also making it front of your mind too. You may find it becomes easier to deal with that particular memory once the court element is sorted.
Some people do find it extremely hard to look at photos for some time, and others are able to look at straight away. So its very unique, and not an unusual thing to happen so try not to worry
the grief journey is weird as it has lots of similarities for each of us, yet it is so unique at the same time. Try to be gentle with yourself, you can return to photos once you're ready