The 20" doesn't have a video-in port. No cables will get around that. The 27" models have video-in (pre-thunderbolt) and the thunderbolt models allow video-in but only from another thunderbolt port.
The 20" doesn't have a video-in port. No cables will get around that. The 27" models have video-in (pre-thunderbolt) and the thunderbolt models allow video-in but only from another thunderbolt port.
The mac you stated only has video out ports which would be used to link the iMac to a second monitor. What you're in need of is video in ports which you don't have. No such luck.