It will work with the iMac display, but you’ll have to transfer the display board and backlight of the old display. I did it and it works great.
open