Yes, by some anti-Trump SuperPAC, NOT by Cruz as Trump and his supporters has repeatedly alleged. They followed these allegations, which they have no evidence for, with threats against Cruz, something which you are apparently fine with.
There is no proof that Cruz had anything to do with the pictures...There’s no proof that he didn’t either...
The PAC that posted the pictures is against Trump...
Cruz is against Trump...
Now what is that old saying...”The enemy of my enemy is my friend...”???