I hacked class/captcha a bit to introduce a new graphical captcha to XOOPS. Original code you will find HERE.
1. jquery.js must be included in theme
2. PHP 5 >= 5.2.0, PECL json >= 1.2.0
Good luck and have fun.