Hi,
I use the XoopsImageHandler::getObjects function in eXtCal to pick random image for the Minical. But this function allow to make a sort only on 'image_id', 'image_created', 'image_mimetype', 'image_display', 'image_weight' field. We just have to add the 'RAND()' value to the array on kernel/image.php at line 219 (XOOPS 2.0.18.1).
Yours