set img_src over Connector and beforeRender

Hallo,
i want to use beforeRender to set an image in combo.

Can i do this?

$options = new ComboConnector($res);
function custom_format($item) {
$land = $item->get_value(“LND_Land”);
$item->set_images($land);
}
$options->event->attach(“beforeRender”, “custom_format”);
$sql1 = “SELECT LND_Laendernummer,LND_Land FROM sta_mitarbeiter_land ORDER BY LND_Land”;
$options->render_sql($sql1, “LND_Laendernummer”, “LND_Land”);

Hugo

Unfortunately it is not possible. ComboConnector has not necessary API, so if you want to form data stream with image urls - you need to use custom code.