Maybe in person you can tell who’s being hanged, but not from the photo. A generic picture of a hanging doesn’t necessarily imply racism.
The picture is in the day time in with a town full of people watching. It could be a criminal that had a trial and was actually guilty.