I don't think this will work, at least I've never heard of someone who converted a Panther DVD to CDs successfully.
Either get Panther CDs or remove the hard drive from the iMac, put it in a firewire enclosure, connect that to another PPC Mac and install Panther on it from the DVD. Then put it back in the iMac.