Printers are not required to publish books/magazines that they find personally offensive.
Freedom of the press does not force the printer’s hand. Neither should it force the photographer to “capture” the moment. There are artistic considerations.
Dennis Prager said that he doesn’t accept clients in his duties as a lawyer that he has personal conflict with (say challenging a state’s prohibition on same sex marriage, etc.).
There is an intimate relationship between the client and the service provider. The gods in black dresses on the bench be damned.
As I understand it, some Jim Crow rules were state-enforced, notably those requiring separate but equal schooling, railroad cars, etc.
I believe a lot more was enforced by social custom. I don’t claim to be an expert on the period, but I don’t believe there were laws in most southern states prohibiting a restaurant from serving black people, only custom. To be fair, this custom was often enforced violently, if necessary.